Send a blank email to [email protected] to get a copy of this message
Hi,
I'm currently interested in two features I'd like to see in PHP; how do I proceed to
request/propose them? I'd be glad to help implementing them as well, if necessary.
One of them is really simple, but would be helpful to people with different coding styles
class Test {
public function blabla() {
// ...
} // < the interpreter fails if there
// is a semicolon here, although
// some c++ programmers may be used
// to add it
};
And the other one would be multiple return values
function multi() {
return 10, 20;
};
function sum($a, $b) {
return $a + $b;
};
echo sum(multi()); // echoes 30
$x, $y = multi();
echo $y; // echoes 20
Thank you!