3v4l.org

run code in 300+ PHP versions simultaneously
<?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 '?'; }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.0.10.0030.05720.22
7.0.00.0070.04020.20
5.6.160.0170.04720.57
5.6.150.0070.06018.18
5.6.140.0030.06318.19
5.6.130.0000.07018.29
5.6.120.0130.07021.14
5.6.110.0100.06720.96
5.6.100.0100.08021.01
5.6.90.0000.04720.96
5.6.80.0130.07020.50
5.5.300.0070.07317.98
5.5.290.0100.07717.98
5.5.280.0130.04720.85
5.5.270.0130.07020.84
5.5.260.0100.04720.76
5.5.250.0130.07020.78
5.5.240.0130.03720.29

preferences:
140.05 ms | 1394 KiB | 7 Q