Tuesday, February 05, 2008

What I’m looking forward to in PHP6

  1. Punctuation-only variable names
  2. “Safe mode” that disables all output
  3. HDMI outputs
  4. ASCII-art generators added to core (once CLAs are signed)
  5. The quad-colon operator (::::)
  6. All superglobals reduced to single array: $_FUCKO
  7. Improved elegance
Posted by funkatron on 02/05/08 at 11:27 PM – Post a comment

Comments

PaulG

I laughed out loud.

Thanks for starting up my day!

Paul

Posted by PaulG  on  02/06/2008  at  06:57 AM

Damien Seguy

Ponctuations variables are already available!

<?php

${”……”} = ‘is real’;

echo ${”……”};

?>

Posted by Damien Seguy  on  02/06/2008  at  07:30 AM

Radoslav Stankov

The things what I really want are the namespaces and the late static binding (I think that both are available patches for php5)

Posted by Radoslav Stankov  on  02/06/2008  at  09:09 AM

Derick

W0rd Finkmeister… as to Radoslav, both patches are already part of PHP 5.3’s CVS.

Posted by Derick  on  02/06/2008  at  09:33 AM

Sean Coates

Damien,

If I EVER get code that does that, I’m sending it to you for maintenance.

Stop handing out hanging-rope! (-;

S

Posted by Sean Coates  on  02/06/2008  at  01:06 PM

Federico

So, to sum it all up, php 6 would allow you to do something like this:

ASCII::::${”.”}($_FUCKO[${”……”}]);

Posted by Federico  on  02/08/2008  at  06:12 AM

Some Guy

what i’d like to see for php6 would be a cleanup. making all methods/functions named consistent, killing unnecessary aliases…

oh and maybe real namespacing instead of that hack..

Posted by Some Guy  on  02/11/2008  at  11:30 AM

Sezgin

hehe I would like php will support Unicode support with $_FUCKO global :)

Posted by Sezgin  on  09/27/2008  at  02:28 PM

romain

my 2 cents contribution…

function beHappy()
&#123;
  if (!$this-&gt;isHappy())
  &#123;
    throw new :'(Exception() ;
  &#125;

  return :-) ;
&#125;
Posted by romain  on  06/17/2009  at  09:26 AM

schnalle

@federico: you forgot the last part: ASCII::::${”.”}($_FUCKO[${”……”}])->convert_toHDMI();

(at least roughly according to the php naming tradition)

Posted by schnalle  on  06/22/2009  at  08:33 AM
Page 1 of 1 pages

Post a comment

Commenting is not available in this weblog entry.