Arquivos
hhvm/hphp/test/quick/incdec-1.php
T
ptarjan 503f75d08b Rename test directories
These names don't make sense now that we run both suites the same
way.
2013-04-17 09:06:51 -07:00

13 linhas
125 B
PHP

<?php
function dec($x) {
return $x + -1;
}
function inc($x) {
return $x - (-1);
}
var_dump(dec(5));
var_dump(inc(5));