3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST["kfc"] = true ; $_GET["man"] = "aaaa;"; $b = array("K","F","C"); $B = $_POST["kfc"]; if($B == $b && $B !== $b){ var_dump(preg_replace('/;+/','vivo50',preg_replace('/[A-Za-z_\(\)]+/','',$_GET["man"]))); if('vivo50' === preg_replace('/;+/','vivo50',preg_replace('/[A-Za-z_\(\)]+/','',$_GET["man"]))){ echo $_GET["man"]; eval($_GET["man"].'giveme50!'); } else{ echo "joker"; } } else{ echo "nonono!"; }

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)
8.5.00.0150.00620.55
8.4.150.0010.00114.05
8.4.140.0150.00718.19
8.4.130.0120.00818.38
8.4.120.0090.00220.83
8.4.110.0120.00818.84
8.4.100.0090.00318.20
8.4.90.0110.01018.17
8.4.80.0130.00618.17
8.4.70.0100.01120.06
8.4.60.0360.01218.10
8.4.50.0480.00918.41
8.4.40.0360.01517.98
8.4.30.0420.01117.86
8.4.20.0440.00818.28
8.4.10.0410.01117.80
8.3.280.0020.00114.05
8.3.270.0110.00917.01
8.3.260.0090.01017.06
8.3.250.0100.00918.98
8.3.240.0150.00617.09
8.3.230.0100.00916.82
8.3.220.0070.00116.91
8.3.210.0100.01017.11
8.3.200.0330.00716.97
8.3.190.0360.00916.97
8.3.180.0320.00717.00
8.3.170.0340.00916.87
8.3.160.0430.00916.70
8.3.150.0440.00716.92
8.3.140.0360.01216.76
8.3.130.0300.01016.85
8.3.120.0260.01017.00
8.3.110.0330.01116.86
8.3.100.0290.01117.11
8.3.90.0300.01116.60
8.3.80.0430.00816.74
8.3.70.0390.01016.89
8.3.60.0390.01116.78
8.3.50.0410.00717.09
8.3.40.0190.00217.84
8.3.30.0290.00817.70
8.3.20.0350.00717.88
8.3.10.0400.00717.67
8.3.00.0180.00918.13
8.2.290.0120.00620.50
8.2.280.0260.01416.91
8.2.270.0310.01016.73
8.2.260.0300.01016.78
8.2.250.0290.01116.75
8.2.240.0280.01016.93
8.2.230.0280.01216.93
8.2.220.0310.00916.66
8.2.210.0290.00616.95
8.2.200.0330.00816.25
8.2.190.0290.01316.66
8.2.180.0290.00916.80
8.2.170.0360.00918.05
8.2.160.0360.01017.74
8.2.150.0300.00917.69
8.2.140.0340.00717.78
8.2.130.0270.00817.69
8.2.120.0360.00717.78
8.2.110.0320.00917.93
8.2.100.0280.01117.78
8.2.90.0340.00718.01
8.2.80.0330.00817.75
8.2.70.0360.00617.95
8.2.60.0250.01017.84
8.2.50.0310.00617.63
8.2.40.0280.01117.74
8.2.30.0310.00717.34
8.2.20.0370.00917.73
8.2.10.0370.01017.41
8.2.00.0310.01217.50

preferences:
38.47 ms | 403 KiB | 5 Q