/hphp/test/slow/ext_math/floor_ceil.php
PHP | 13 lines | 10 code | 3 blank | 0 comment | 0 complexity | a526400c2b95794d6823ab124a45de54 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?hh
- function x($y, $k) {
- var_dump($k($y));
- var_dump(floor($y));
- }
- <<__EntryPoint>>
- function main_floor_ceil() {
- x(varray[1,2,3,4], 'floor');
- x(varray[1,2,3,4], 'ceil');
- }