3v4l.org

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