Return to bug27354.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / lang |
1.1 ! misho 1: --TEST-- ! 2: Bug #27354 (Modulus operator crashes PHP) ! 3: --FILE-- ! 4: <?php ! 5: var_dump(-2147483647 % -1); ! 6: var_dump(-2147483649 % -1); ! 7: var_dump(-2147483648 % -1); ! 8: var_dump(-2147483648 % -2); ! 9: ?> ! 10: --EXPECTF-- ! 11: int(%i) ! 12: int(%i) ! 13: int(%i) ! 14: int(%i)