3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $secret = 9292929; $data = '"I will write the payload code in this pice of content" . ($secret = 1111111) . "that is sent to you previously $0"'; $trigger = ".*)/e\0"; preg_replace( "/($trigger)/i", '<em>$1</em>, $data ); var_dump( $secret );
Output for 5.4.18 - 5.4.19
Parse error: syntax error, unexpected ''<em>$1</em>, $data );' (T_ENCAPSED_AND_WHITESPACE) in /in/SNsvs on line 9
Process exited with code 255.
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected ''<em>$1</em>, $data );' (T_ENCAPSED_AND_WHITESPACE) in /in/nY7U8 on line 9
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /in/nY7U8 on line 9
Process exited with code 255.