Article View: comp.os.vms
Article #107Re: PHP "Features"
From: Simon Clubley
Date: Tue, 27 Oct 2026 19:33
Date: Tue, 27 Oct 2026 19:33
31 lines
2442 bytes
2442 bytes
On 2026-10-24, Dan Cross <cross@spitfire.i.gajendra.net> wrote: > > I assume you've seen this? I think I may have posted it a > couple of days ago. > > https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/ > I had forgotten about this and it sums up things better than I can. BTW, I have yet to see someone propose a Rust-style scripting language as a replacement for PHP. :-) On a more serious note, I wish Python had taken hold instead of PHP in the web server world. I get on far better with Python than PHP and Python is a much more general purpose language that is the scripting language in all kinds of applications. Oh, and about the bit in the above URL about calling a PHP function and passing an array as its arguments, have a look at the splat operator introduced in current PHP versions to unpack an array as an argument list. Had cause to use it recently (I sometimes have to write PHP code to interface with things) and it appeared to work for me. It may do what you need in some circumstances instead of call_user_func_array(). Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Walking destinations on a map are further away than they appear.
Technical Details
Message-ID:
<11bquar$1pp8h$3@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11bcbi1$k068$1@dont-email.me> <nk2bhaF5j2sU1@mid.individual.net> <11bh3ei$19g$1@reader2.panix.com> <11bi7bg$2mdi4$1@dont-email.me> <11bipfv$190$1@reader2.panix.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> Newsgroups: comp.os.vms Subject: Re: PHP "Features" Date: Tue, 27 Oct 2026 19:33:47 -0000 (UTC) Organization: A noiseless patient Spider Lines: 31 Message-ID: <11bquar$1pp8h$3@dont-email.me> References: <11bcbi1$k068$1@dont-email.me> <nk2bhaF5j2sU1@mid.individual.net> <11bh3ei$19g$1@reader2.panix.com> <11bi7bg$2mdi4$1@dont-email.me> <11bipfv$190$1@reader2.panix.com> Injection-Date: Tue, 27 Oct 2026 19:33:48 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1893649"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Mt3yN6E/mN1gIqqZoF6wQX9APZGzlWfg="; posting-host="48c1c04ddf2ba655a81fa26d5f7ef3f5" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:xBAcQL4xfMApc6lBiJPmrf0HVXs= sha256:Uz2QfdMxzBvGEkpVm9xRHbkZ8HmNBYg+Ibg0BNXuo9E= sha1:E6MAEWkRpsSs2U6a1MR50F0uUuY= sha256:EXadzp18X0HXOIAWQujrd2hjpPllCrlPqX3LVXsJML8=