3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $threep = 'assets/images/catalog/kitchen/fuksi/small_DSCN0818.JPG'; if ($threep != '') { $threepcount = str_replace($onep, $twop, $threep, $count); if ($count >= 1) { $threepout = str_replace($twop, $onep, $threep, $count); } else { $threepout = str_replace($twop, $onep, $threep, $count); } } else { echo ''; } echo $threepout;
Output for 5.5.0 - 7.3.0beta1
Notice: Undefined variable: onep in /in/BLl0I on line 7 Notice: Undefined variable: twop in /in/BLl0I on line 7 Notice: Undefined variable: twop in /in/BLl0I on line 15 Notice: Undefined variable: onep in /in/BLl0I on line 15 assets/images/catalog/kitchen/fuksi/small_DSCN0818.JPG