3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $content = preg_replace('/\xEE[\x80-\xBF][\x80-\xBF]|\xEF[\x81-\x83][\x80-\xBF]/', '', $story->getImage());
Output for 7.0.5 - 7.2.0
Notice: Undefined variable: story in /in/1EpaU on line 3 Fatal error: Uncaught Error: Call to a member function getImage() on null in /in/1EpaU:3 Stack trace: #0 {main} thrown in /in/1EpaU on line 3
Process exited with code 255.
Output for 7.0.0 - 7.0.4
Notice: Undefined variable: story in /in/1EpaU on line 3 Fatal error: Uncaught Error: Call to a member function getImage() on unknown in /in/1EpaU:3 Stack trace: #0 {main} thrown in /in/1EpaU on line 3
Process exited with code 255.
Output for 5.6.8 - 5.6.21
Notice: Undefined variable: story in /in/1EpaU on line 3 Fatal error: Call to a member function getImage() on null in /in/1EpaU on line 3
Process exited with code 255.
Output for 5.3.18 - 5.5.35
Notice: Undefined variable: story in /in/1EpaU on line 3 Fatal error: Call to a member function getImage() on a non-object in /in/1EpaU on line 3
Process exited with code 255.