home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.vms      DEC's VAX* line of computers & VMS.      264,096 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 264,011 of 264,096   
   Lawrence =?iso-8859-13?q?D=FFOlivei to All   
   Re: New PHP kits available (and a progra   
   02 Jan 26 21:01:45   
   
   From: ldo@nz.invalid   
      
   On Fri, 2 Jan 2026 15:04:21 -0500, Arne Vajhøj wrote:   
      
   > On 1/1/2026 10:31 PM, Lawrence D’Oliveiro wrote:   
   >>   
   >> Showing you what a crummy language PHP is: it doesn’t even have the   
   >> concept of function objects, it has to fake it by passing a string   
   >> containing the *name* of the function ... (interpreted in what   
   >> scope?)   
   >   
   > Someone made a decision many years ago that the syntax should be:   
   >   
   > 'test'   
   >   
   > instead of:   
   >   
   > test   
   >   
   > to specify the function as argument.   
      
   It’s not just some special “syntax”: it’s an actual string.   
      
   > String as function is not limited to arguments, so creative   
   > developers can have fun.   
      
   Which is a bloody stupid way to do things. Think of how scoping has to   
   work, for example.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca