3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST['password'] = 'foo'; if(!isset($_POST["password"]) || $_POST["password"] != "swordfish" ){ die('</head><body><form action="index.php" method="post"> <input type="password" name="password"><input type="submit"></form>'); }

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.3.60.0120.00918.55
8.3.50.0110.00416.35
8.3.40.0030.01218.71
8.3.30.0070.00718.77
8.3.20.0080.00020.29
8.3.10.0060.00321.77
8.3.00.0040.00420.89
8.2.180.0090.00618.51
8.2.170.0070.01022.96
8.2.160.0070.01022.16
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00420.35
8.2.120.0080.00026.35
8.2.110.0030.00720.94
8.2.100.0040.00818.03
8.2.90.0060.00318.34
8.2.80.0040.00422.02
8.2.70.0000.00917.75
8.2.60.0030.00618.04
8.2.50.0030.00618.10
8.2.40.0000.00822.14
8.2.30.0000.00721.04
8.2.20.0070.00017.97
8.2.10.0040.00418.04
8.2.00.0040.00418.03
8.1.280.0120.00325.92
8.1.270.0070.01023.84
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0000.00923.98
8.1.230.0040.00821.04
8.1.220.0000.00817.75
8.1.210.0040.00419.03
8.1.200.0070.00317.48
8.1.190.0050.00317.10
8.1.180.0070.00018.10
8.1.170.0080.00018.59
8.1.160.0000.00718.85
8.1.150.0040.00418.81
8.1.140.0040.00419.57
8.1.130.0040.00417.39
8.1.120.0070.00017.40
8.1.110.0040.00417.39
8.1.100.0050.00217.43
8.1.90.0030.00517.45
8.1.80.0040.00417.30
8.1.70.0000.00717.38
8.1.60.0040.00417.48
8.1.50.0000.00817.56
8.1.40.0000.00717.53
8.1.30.0000.01117.66
8.1.20.0040.00417.64
8.1.10.0000.00817.54
8.1.00.0080.00017.40
8.0.300.0040.00420.09
8.0.290.0000.00716.75
8.0.280.0000.00718.38
8.0.270.0080.00016.87
8.0.260.0000.00716.78
8.0.250.0030.00316.85
8.0.240.0000.00716.74
8.0.230.0050.00216.83
8.0.220.0000.00816.84
8.0.210.0040.00416.89
8.0.200.0000.00616.96
8.0.190.0040.00416.98
8.0.180.0040.00416.82
8.0.170.0000.00716.85
8.0.160.0000.00716.88
8.0.150.0030.00516.91
8.0.140.0000.00816.90
8.0.130.0000.00713.35
8.0.120.0000.00816.87
8.0.110.0000.00816.94
8.0.100.0070.00016.78
8.0.90.0040.00417.00
8.0.80.0040.01116.86
8.0.70.0070.00016.88
8.0.60.0070.00016.86
8.0.50.0040.00416.85
8.0.30.0110.00717.05
8.0.20.0070.01117.40
8.0.10.0050.00216.92
8.0.00.0120.00616.58
7.4.330.0050.00015.55
7.4.320.0030.00316.45
7.4.300.0030.00316.50
7.4.290.0000.00816.48
7.4.280.0040.00416.38
7.4.270.0030.00316.55
7.4.260.0000.00716.43
7.4.250.0070.00016.45
7.4.240.0000.00816.54
7.4.230.0000.00716.39
7.4.220.0040.01416.54
7.4.210.0070.00716.51
7.4.200.0030.00316.62
7.4.160.0100.00616.48
7.4.150.0150.00317.40
7.4.140.0110.00917.86
7.4.130.0090.02016.47
7.4.120.0100.00916.53
7.4.110.0090.00916.43
7.4.100.0120.00616.59
7.4.90.0100.01016.49
7.4.80.0030.01319.39
7.4.70.0160.00316.50
7.4.60.0110.00716.47
7.4.50.0100.00716.13
7.4.40.0070.01016.60
7.4.30.0030.01516.66
7.4.10.0030.01314.99
7.4.00.0060.00814.99
7.3.330.0000.00613.36
7.3.320.0000.00613.30
7.3.310.0070.00016.24
7.3.300.0030.00316.21
7.3.290.0070.00016.24
7.3.280.0070.01016.36
7.3.270.0120.00617.40
7.3.260.0080.01016.26
7.3.250.0100.00716.58
7.3.240.0080.01016.43
7.3.230.0140.00416.41
7.3.210.0130.00316.64
7.3.200.0080.00816.38
7.3.190.0120.00316.54
7.3.180.0060.01016.42
7.3.170.0120.00416.44
7.3.160.0080.00816.43
7.3.130.0030.01314.84
7.3.120.0080.00714.69
7.3.110.0050.01015.03
7.3.100.0070.00914.84
7.3.90.0090.00914.76
7.3.80.0030.01014.88
7.3.70.0040.00714.76
7.3.60.0030.01114.57
7.3.50.0080.00314.95
7.3.40.0080.00714.76
7.3.30.0060.00714.93
7.3.20.0080.00516.65
7.3.10.0090.00716.67
7.3.00.0060.00616.66
7.2.330.0100.00716.76
7.2.320.0060.01316.56
7.2.310.0090.00616.71
7.2.300.0140.00716.38
7.2.290.0110.00616.81
7.2.260.0080.00815.02
7.2.250.0050.01114.87
7.2.240.0030.01215.01
7.2.230.0060.00814.78
7.2.220.0070.00815.16
7.2.210.0090.00614.96
7.2.200.0140.00215.17
7.2.190.0020.01114.98
7.2.180.0060.00615.05
7.2.170.0060.00915.13
7.2.160.0030.01014.96
7.2.150.0110.00716.94
7.2.140.0060.00716.73
7.2.130.0060.00716.96
7.2.120.0090.00716.96
7.2.110.0050.00816.89
7.2.100.0020.00617.00
7.2.90.0040.00817.07
7.2.80.0090.00617.01
7.2.70.0040.01016.89
7.2.60.0040.01116.88
7.2.50.0060.00916.98
7.2.40.0090.00417.01
7.2.30.0070.00717.07
7.2.20.0090.00816.92
7.2.10.0040.01016.75
7.2.00.0030.00917.60
7.1.330.0030.00815.86
7.1.320.0080.00515.80
7.1.310.0070.00915.62
7.1.300.0050.00615.79
7.1.290.0050.00715.92
7.1.280.0030.00915.71
7.1.270.0070.00815.76
7.1.260.0080.00315.90
7.1.250.0040.00815.84
7.1.240.0030.00615.91
7.1.230.0000.00815.74
7.1.220.0030.00915.86
7.1.210.0090.00315.91
7.1.200.0020.01015.57
7.1.190.0070.00715.85
7.1.180.0030.01015.59
7.1.170.0050.00816.02
7.1.160.0070.00415.87
7.1.150.0070.00715.59
7.1.140.0080.00015.80
7.1.130.0060.00915.46
7.1.120.0070.00415.79
7.1.110.0070.00715.86
7.1.100.0020.00917.04
7.1.90.0060.00315.59
7.1.80.0060.00615.79
7.1.70.0040.00816.46
7.1.60.0160.00624.58
7.1.50.0200.01024.36
7.1.40.0190.01124.19
7.1.30.0210.00924.05
7.1.20.0200.01224.25
7.1.10.0130.01015.36
7.1.00.0160.00215.38
7.0.330.0070.00315.43
7.0.320.0070.00715.52
7.0.310.0000.01715.44
7.0.300.0080.00315.24
7.0.290.0000.00815.18
7.0.280.0090.00615.37
7.0.270.0070.00715.37
7.0.260.0000.01115.39
7.0.250.0030.01015.39
7.0.240.0070.00315.25
7.0.230.0030.00915.20
7.0.220.0000.01415.38
7.0.210.0030.00615.56
7.0.200.0120.01015.31
7.0.190.0280.00815.00
7.0.180.0190.00514.90
7.0.170.0100.01214.94
7.0.160.0160.00514.88
7.0.150.0100.00914.85
7.0.140.0130.00814.77
7.0.130.0170.00715.00
7.0.120.0090.01215.05
7.0.110.0100.01114.76
7.0.100.0130.00814.78
7.0.90.0130.00714.82
7.0.80.0100.01114.97
7.0.70.0140.00715.01
7.0.60.0180.00814.88
7.0.50.0130.00915.07
7.0.40.0140.00513.90
7.0.30.0130.00914.04
7.0.20.0140.00713.92
7.0.10.0130.00714.13
7.0.00.0120.00613.98
5.6.400.0040.00814.68
5.6.390.0000.01014.47
5.6.380.0030.01014.59
5.6.370.0070.00714.55
5.6.360.0040.00414.36
5.6.350.0120.00314.54
5.6.340.0060.00614.48
5.6.330.0060.00614.43
5.6.320.0030.00714.47
5.6.310.0060.00814.23
5.6.300.0000.00914.32
5.6.290.0060.00914.74
5.6.280.0040.01214.74
5.6.270.0000.01514.48
5.6.260.0060.00614.16
5.6.250.0110.00314.73
5.6.240.0090.00014.23
5.6.230.0060.00914.17
5.6.220.0040.00814.41
5.6.210.0030.00714.20
5.6.200.0000.01414.55
5.6.190.0000.00914.60
5.6.180.0040.00414.66
5.6.170.0060.00614.43
5.6.160.0060.00614.67
5.6.150.0070.00714.38
5.6.140.0030.01014.34
5.6.130.0000.01314.29
5.6.120.0030.01014.09
5.6.110.0040.00414.17
5.6.100.0000.00814.49
5.6.90.0040.00414.30
5.6.80.0050.00514.39
5.6.70.0060.00914.32
5.6.60.0090.00614.24
5.6.50.0060.01214.64
5.6.40.0030.00914.54
5.6.30.0090.00314.58
5.6.20.0090.00614.55
5.6.10.0000.01114.12
5.6.00.0070.00714.31

preferences:
51.65 ms | 401 KiB | 5 Q