3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = <<<EOT SELECT "g".* FROM """public"".""user_data""" AS "g" INNER JOIN """public"".""user_data""" AS "u" ON "u"."user_id" = "g"."user_id" INNER JOIN """public"".""user""" AS "us" ON "us"."id" = "g"."user_id" WHERE "u"."country" = '26' AND "us"."gender" = 'male' AND g.name like '%зарядка%' LIMIT '25' EOT; if(preg_match('/"([^"]+)/', $s, $m) { var_dump($m); } else { echo '?'; }
based on KZD7F
Output for 7.0.0 - 7.0.1
Parse error: syntax error, unexpected ';' in /in/NkfXd on line 6
Process exited with code 255.
Output for 5.3.21 - 5.6.16
Parse error: syntax error, unexpected '{' in /in/NkfXd on line 5
Process exited with code 255.