3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $option_value = array(); $option_value['image'] = 'data/eprint_logo_new4.jpg'; $img = explode(".",end(explode("/",$option_value['image']))); $ext = end($img); $img = implode(".",array_slice($img,0,-1)); echo $img . ' + ' . $ext;
based on Blvgt
Output for 7.0.0 - 7.2.0
Notice: Only variables should be passed by reference in /in/Jloil on line 6 eprint_logo_new4 + jpg
Output for 5.3.19 - 5.6.28
Strict Standards: Only variables should be passed by reference in /in/Jloil on line 6 eprint_logo_new4 + jpg