3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(-21 % 4);
based on 6Ijb8
Output for 5.3.20 - 7.2.0
int(-1)