3v4l.org

run code in 300+ PHP versions simultaneously
<?php #$srch = "{eval("echo phpinfo();//apple1(?=/)\e")}"; #$srch = "{${eval("phpinfo();apple(?=/)\e")}}"; #$srch = "include(eval(phpinfo());apple(?=/)\\e)"; $srch = "{${phpinfo() /*apple(?=/)*/\\e}}"; echo "\n\n\n\n\n"; echo $srch; echo "\n"; $search = htmlentities($srch); echo $search; echo "\n"; if (strpos($search, 'apple') !== false){ echo "in the if!"; echo "\n"; echo preg_replace("/".$search."/", $search." <img src='".$search.".png'>", "apple"); }

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)
5.4.270.3870.03318.93
5.4.260.3970.03019.13
5.4.250.3630.03719.13
5.4.240.4530.02719.06
5.4.230.4300.03319.05
5.4.220.4170.03319.14
5.4.210.4270.04318.93
5.4.200.4400.04019.20
5.4.190.4470.04318.96
5.4.180.4300.04718.92
5.4.170.4400.04318.93
5.4.160.4170.04319.18
5.4.150.3900.03319.20
5.4.140.4000.03016.52
5.4.130.3800.03716.38
5.4.120.3730.04016.50
5.4.110.3570.03716.45
5.4.100.3600.03716.35
5.4.90.3870.02716.22
5.4.80.3770.03716.44
5.4.70.3900.03716.52
5.4.60.3900.03016.50
5.4.50.3900.03016.29
5.4.40.3900.04016.20
5.4.30.3570.03316.45
5.4.20.4130.04016.53
5.4.10.3900.03316.41
5.4.00.3700.03715.85
5.3.280.4200.04014.52
5.3.270.4100.05314.69
5.3.260.3900.04014.56
5.3.250.3700.02714.56
5.3.240.3900.03314.53
5.3.230.3530.04014.61
5.3.220.3570.03714.49
5.3.210.3570.04014.66
5.3.200.4030.04714.52
5.3.190.3700.03314.51
5.3.180.3770.03714.48
5.3.170.3500.04314.58
5.3.160.3800.04314.54
5.3.150.3700.03714.53
5.3.140.3670.02714.45
5.3.130.4130.04014.45
5.3.120.3900.03314.37
5.3.110.3700.04014.48
5.3.100.3930.03313.92
5.3.90.3930.03014.11
5.3.80.3930.02713.94
5.3.70.3630.03013.84
5.3.60.3800.03013.93
5.3.50.3370.03713.87
5.3.40.4000.02713.76
5.3.30.3830.04013.70
5.3.20.4030.03313.52
5.3.10.3830.04013.63
5.3.00.3970.04013.57

preferences:
136.11 ms | 1386 KiB | 7 Q