3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(50 % 33); var_dump(67 % 33); var_dump(0 == '0'); var_dump(0 === '0'); var_dump(in_array(0, array( 'foo', 'bar' ))); var_dump(in_array('0', array( 'foo', 'bar' )));
based on MTONE
Output for 4.3.0 - 7.1.10
int(17) int(1) bool(true) bool(false) bool(true) bool(false)