3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo strpos("PR001:Approved,SA001:Approved","PR001"); if(strpos("PR001:Approved,SA001:Approved","PR001") !== false) { echo "123"; } $s = "12345"; $k = implode($s,","); print_r($k);
Output for 5.2.5 - 7.1.0
0123 Warning: implode(): Invalid arguments passed in /in/RBKbd on line 11
Output for 4.3.2 - 5.2.4
0123 Warning: implode(): Bad arguments. in /in/RBKbd on line 11
Output for 4.3.0 - 4.3.1
0123 Warning: implode() [http://www.php.net/function.implode]: Bad arguments. in /in/RBKbd on line 11