3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($a=0,$b=0,$c=0,$d=0;;) { break; } var_dump($a,$b,$c,$d);

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.1.100.0030.00517.39
8.1.90.0060.00317.41
8.1.80.0000.00717.26
8.1.70.0000.00717.37
8.1.60.0060.00317.52
8.1.50.0000.00817.47
8.1.40.0050.00517.43
8.1.30.0080.00017.63
8.1.20.0040.00417.59
8.1.10.0030.00517.42
8.1.00.0040.00417.35
8.0.230.0000.00917.00
8.0.220.0000.00716.84
8.0.210.0000.00916.73
8.0.200.0030.00316.96
8.0.190.0060.00316.88
8.0.180.0000.00816.73
8.0.170.0040.00416.94
8.0.160.0040.00716.86
8.0.150.0040.00416.71
8.0.140.0030.00316.88
8.0.130.0060.00013.24
8.0.120.0040.00416.87
8.0.110.0060.00316.70
8.0.100.0040.00416.77
8.0.90.0040.00416.90
8.0.80.0040.01416.81
8.0.70.0050.01016.86
8.0.60.0100.00916.80
8.0.50.0030.01716.84
8.0.30.0130.01016.92
8.0.20.0110.00917.12
8.0.10.0100.01116.95
8.0.00.0090.01116.94
7.4.300.0070.00016.42
7.4.290.0060.00316.42
7.4.280.0090.00016.46
7.4.270.0000.00616.34
7.4.260.0000.00716.48
7.4.250.0000.00716.51
7.4.240.0000.00816.41
7.4.230.0030.00316.42
7.4.220.0000.00716.64
7.4.210.0060.00916.51
7.4.200.0080.00816.51
7.4.190.0050.01016.58
7.4.180.0090.00916.56
7.4.160.0120.00616.48
7.4.150.0100.00916.59
7.4.140.0100.01016.96
7.4.130.0080.01216.33
7.4.120.0090.00916.30
7.4.110.0090.00716.43
7.4.100.0110.00816.42
7.4.90.0100.00716.38
7.4.80.0090.00816.78
7.4.70.0080.01016.33
7.4.60.0080.01016.29
7.4.50.0070.01016.25
7.4.40.0070.01116.27
7.4.30.0080.01016.31
7.4.20.0080.01116.33
7.4.10.0100.01216.26
7.4.00.0080.01016.22
7.3.330.0020.00213.13
7.3.320.0030.00313.02
7.3.310.0030.00316.18
7.3.300.0030.00616.23
7.3.290.0100.00616.22
7.3.280.0070.00916.16
7.3.270.0100.00816.38
7.3.260.0110.00816.21
7.3.250.0070.00916.22
7.3.240.0070.00916.24
7.3.230.0070.01016.24
7.3.220.0080.00916.18
7.3.210.0100.00816.14
7.3.200.0090.00816.15
7.3.190.0090.00816.20
7.3.180.0100.00816.13
7.3.170.0080.01016.12
7.3.160.0080.01016.18
7.3.150.0070.00916.11
7.3.140.0090.01116.15
7.3.130.0100.00916.16
7.3.120.0100.00816.17
7.3.110.0100.00916.16
7.3.100.0090.00815.89
7.3.90.0110.00616.10
7.3.80.0080.00815.96
7.3.70.0080.00815.95
7.3.60.0070.01015.93
7.3.50.0080.00815.86
7.3.40.0060.01015.87
7.3.30.0070.00915.83
7.3.20.0090.00815.89
7.3.10.0100.00815.86
7.3.00.0100.01015.83
7.2.340.0160.01116.14
7.2.330.0140.00816.26
7.2.320.0090.01316.18
7.2.310.0160.00816.16
7.2.300.0150.00916.17
7.2.290.0130.01016.24
7.2.280.0150.00916.16
7.2.270.0160.00916.20
7.2.260.0120.01216.22
7.2.250.0140.00916.22
7.2.240.0170.00616.16
7.2.230.0150.00616.00
7.2.220.0130.01015.95
7.2.210.0150.00916.00
7.2.200.0140.00916.05
7.2.190.0120.01016.03
7.2.180.0150.00715.93
7.2.170.0110.01015.95
7.2.160.0130.00915.97
7.2.150.0180.00615.99
7.2.140.0160.00816.05
7.2.130.0130.00916.10
7.2.120.0140.00816.09
7.2.110.0130.00916.12
7.2.100.0230.00715.97
7.2.90.0190.01015.90
7.2.80.0200.00815.94
7.2.70.0230.00916.02
7.2.60.0210.00716.02
7.2.50.0240.01015.90
7.2.40.0180.01115.98
7.2.30.0230.01115.97
7.2.20.0210.00916.13
7.2.10.0190.01016.14
7.2.00.0210.00816.10
7.1.330.0160.01115.70
7.1.320.0210.00715.54
7.1.310.0130.00915.50
7.1.300.0180.00715.46
7.1.290.0140.00815.46
7.1.280.0140.01015.30
7.1.270.0130.00915.26
7.1.260.0150.00815.25
7.1.250.0220.00915.29
7.1.240.0220.01114.99
7.1.230.0150.01015.10
7.1.220.0260.00715.15
7.1.210.0240.00815.09
7.1.200.0220.00915.16
7.1.190.0180.01015.11
7.1.180.0210.00815.05
7.1.170.0210.01015.07
7.1.160.0240.00615.10
7.1.150.0210.00915.10
7.1.140.0270.00915.08
7.1.130.0250.00815.07
7.1.120.0210.01015.06
7.1.110.0200.00915.10
7.1.100.0240.00515.05
7.1.90.0230.00815.03
7.1.80.0320.00815.07
7.1.70.0240.00715.21
7.1.60.0230.00916.98
7.1.50.0240.00816.97
7.1.40.0200.01016.93
7.1.30.0230.01017.00
7.1.20.0200.00916.98
7.1.10.0200.00915.24
7.1.00.0210.00715.30
7.0.330.0150.00714.90
7.0.320.0150.00814.85
7.0.310.0190.00814.75
7.0.300.0220.00714.67
7.0.290.0250.00614.71
7.0.280.0190.00814.71
7.0.270.0210.01014.78
7.0.260.0220.00914.73
7.0.250.0240.00814.90
7.0.240.0250.00614.83
7.0.230.0220.00814.87
7.0.220.0210.00714.87
7.0.210.0320.00814.83
7.0.200.0190.00715.05
7.0.190.0220.00815.02
7.0.180.0220.00715.05
7.0.170.0170.01015.02
7.0.160.0220.00615.01
7.0.150.0210.00715.05
7.0.140.0200.00815.04
7.0.130.0270.00815.08
7.0.120.0220.00615.12
7.0.110.0210.00915.05
7.0.100.0220.00815.11
7.0.90.0210.01015.01
7.0.80.0210.00615.01
7.0.70.0210.00615.03
7.0.60.0200.00615.02
7.0.50.0210.00715.01
7.0.40.0180.00815.09
7.0.30.0200.00915.05
7.0.20.0220.00715.04
7.0.10.0200.00915.04
7.0.00.0220.00715.06
5.6.400.0100.01115.29
5.6.390.0140.00915.35
5.6.380.0130.00915.30
5.6.370.0150.01015.67
5.6.360.0160.00915.69
5.6.350.0170.00815.69
5.6.340.0130.01015.73
5.6.330.0170.00915.68
5.6.320.0160.00915.70
5.6.310.0120.01215.75
5.6.300.0150.01115.59
5.6.290.0160.00915.62
5.6.280.0130.01215.64
5.6.270.0190.00915.65
5.6.260.0190.00815.67
5.6.250.0140.01115.67
5.6.240.0150.01115.81
5.6.230.0170.00815.76
5.6.220.0190.00615.78
5.6.210.0170.00715.80
5.6.200.0160.01115.81
5.6.190.0160.00915.83
5.6.180.0160.00915.81
5.6.170.0140.01015.75
5.6.160.0150.01215.77
5.6.150.0170.01015.78
5.6.140.0150.01015.72
5.6.130.0170.00815.75
5.6.120.0150.01115.74
5.6.110.0180.01015.71
5.6.100.0150.01015.64
5.6.90.0140.01115.70
5.6.80.0140.01015.61
5.6.70.0160.01015.73
5.6.60.0150.00915.78
5.6.50.0140.01115.67
5.6.40.0180.00815.70
5.6.30.0170.00915.77
5.6.20.0140.01115.64
5.6.10.0150.01015.70
5.6.00.0150.01015.66

preferences:
13.59 ms | 410 KiB | 6 Q