Language Differences From Zend Engine Based PHP 5.x/6

  • arbitrary precision integers and floats

instead of overflowing to a float, rphp supports arbitrarily large integers in literals and arithmetic operators and functions.

$a = 1000000000000000000000000;
$a += 5; // a now equals 1000000000000000000000005

note that internally, word-sized integers are still stored on the stack, and overflow to bigints as necessary.

  • no references

we're evaluating removing reference variables from the language. anywhere you would want to use a reference, you can use an object for the same by-reference semantics. if you think you have a real use case for references (backwards compatibility excluded), please speak up.

  • case sensitive function names
  • support for :: namespace operator