3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $apiResultJSON = 'asdfasdfasdfasdf -sharpen 5x1 asdfasdfasdfasdfimages295472source1879420.jpg asdfasdf -sharpen 0x0 '; $apiResultJSON = preg_replace('\-sharpen [0-9]x[0-9]', "", $apiResultJSON); var_dump($apiResultJSON);
based on uuMPP
Output for 4.3.11 - 7.2.0
Warning: preg_replace(): Delimiter must not be alphanumeric or backslash in /in/d6MNI on line 5 NULL
Output for 4.3.0 - 4.3.10
Warning: Delimiter must not be alphanumeric or backslash in /in/d6MNI on line 5 NULL