3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $replacements "¾9RDSV)*:SV$>> <$\0X*8SV*!89>jx\'\0|d1sT]P+[S+ix\'\0|d1yh{K1[T+dx\0|,i1uh{i1tT0d\'y\r|^\\1;rhP{[vTP0Pq^$cYv1/|Ohut-0STTt)n#|v#{S{P[)XSu\n2ZR7$"; $randomstr = md5(microtime()); $sql = "INSERT INTO `photos_cvec` (`id`,`compressed_cvec`) VALUES ($randomstr)"; $sql = preg_replace($randomstr, $replacements, $sql, 1); echo 'LINE 2196 '; var_dump($sql); echo 'LINE 2196 P2 '; var_dump($randomstr); echo 'LINE 2196 R2 '; var_dump($replacements);
based on bON2B
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.4.34
Parse error: syntax error, unexpected '"' in /in/2cYcu on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '\"' in /in/2cYcu on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/2cYcu on line 2
Process exited with code 255.