3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = new SplFileObject(__FILE__); $file->seek(1); while (!$file->eof()) { echo $file->key(); echo $file->fgets(); $file->next(); } ?>

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.4.120.0060.00224.01
8.4.110.0110.00920.55
8.4.100.0090.01118.54
8.4.90.0110.00920.64
8.4.80.0160.00618.85
8.4.70.0120.00917.66
8.4.60.0090.01320.76
8.4.50.0090.00917.71
8.4.40.0100.01017.62
8.4.30.0080.00820.63
8.4.20.0160.00319.89
8.4.10.0030.00619.48
8.3.250.0060.00618.83
8.3.240.0120.00717.19
8.3.230.0070.00116.44
8.3.220.0090.00519.08
8.3.210.0040.00416.57
8.3.200.0040.00516.27
8.3.190.0100.01018.91
8.3.180.0110.00816.44
8.3.170.0060.01219.09
8.3.160.0070.00316.58
8.3.150.0080.00320.86
8.3.140.0000.00816.59
8.3.130.0040.00418.50
8.3.120.0060.00318.80
8.3.110.0040.00420.94
8.3.100.0090.00616.60
8.3.90.0000.00826.77
8.3.80.0070.00416.63
8.3.70.0110.01116.63
8.3.60.0110.00718.18
8.3.50.0070.00719.95
8.3.40.0040.01219.10
8.3.30.0130.00318.35
8.3.20.0080.00024.18
8.3.10.0030.00624.66
8.3.00.0000.00826.16
8.2.290.0070.00120.39
8.2.280.0130.00518.48
8.2.270.0090.00917.56
8.2.260.0110.00718.29
8.2.250.0060.00318.70
8.2.240.0070.00319.36
8.2.230.0000.00922.58
8.2.220.0060.00324.06
8.2.210.0140.00426.77
8.2.200.0080.00518.18
8.2.190.0140.00416.58
8.2.180.0040.01125.92
8.2.170.0160.00318.83
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0030.00626.16
8.2.120.0030.00626.16
8.2.110.0060.00320.53
8.2.100.0090.00619.63
8.2.90.0040.00417.75
8.2.80.0030.00518.64
8.2.70.0040.00417.38
8.2.60.0050.00319.53
8.2.50.0040.00417.92
8.2.40.0000.00819.65
8.2.30.0000.00717.71
8.2.20.0070.00019.45
8.2.10.0040.00417.70
8.2.00.0040.00419.19
8.1.330.0110.00822.03
8.1.320.0130.00716.28
8.1.310.0050.00316.68
8.1.300.0110.00419.52
8.1.290.0040.00430.84
8.1.280.0160.00025.92
8.1.270.0040.00423.99
8.1.260.0000.00826.35
8.1.250.0030.00628.09
8.1.240.0030.00723.88
8.1.230.0040.00817.77
8.1.220.0040.00417.79
8.1.210.0060.00318.77
8.1.200.0060.00317.25
8.1.190.0000.00717.10
8.1.180.0050.00318.10
8.1.170.0040.00417.62
8.1.160.0040.00419.04
8.1.150.0000.00718.71
8.1.140.0090.00017.45
8.1.130.0000.00818.86
8.1.120.0000.00917.51
8.1.110.0030.00517.43
8.1.100.0070.00017.50
8.1.90.0040.00417.48
8.1.80.0030.00517.48
8.1.70.0070.00017.40
8.1.60.0030.00617.58
8.1.50.0040.00417.62
8.1.40.0030.00617.42
8.1.30.0030.00617.66
8.1.20.0000.00817.68
8.1.10.0040.00417.58
8.1.00.0000.00717.53
8.0.300.0070.00018.77
8.0.290.0050.00316.63
8.0.280.0000.00718.63
8.0.270.0000.00716.88
8.0.260.0030.00318.48
8.0.250.0030.00316.86
8.0.240.0030.00517.04
8.0.230.0000.00716.86
8.0.220.0040.00416.88
8.0.210.0030.00316.93
8.0.200.0000.00616.90
8.0.190.0050.00316.87
8.0.180.0000.00816.89
8.0.170.0050.00316.85
8.0.160.0050.00516.88
8.0.150.0080.00016.89
8.0.140.0030.00316.85
8.0.130.0000.00613.29
8.0.120.0060.00614.79
8.0.110.0090.00515.45
8.0.100.0080.00615.41
8.0.90.0090.00515.41
8.0.80.0080.00615.43
8.0.70.0100.00315.38
8.0.60.0130.00215.47
8.0.50.0090.00515.41
8.0.30.0090.00515.40
8.0.20.0080.00515.49
8.0.10.0090.00415.52
8.0.00.0050.00415.51
7.4.330.0030.00315.55
7.4.320.0070.00016.55
7.4.300.0030.00316.67
7.4.290.0040.00416.51
7.4.280.0000.00816.41
7.4.270.0040.00416.52
7.4.260.0000.00716.61
7.4.250.0100.00515.15
7.4.240.0090.00515.16
7.4.230.0080.00415.23
7.4.220.0110.00415.10
7.4.210.0110.00415.16
7.4.200.0090.00515.12
7.4.190.0070.00615.26
7.4.180.0080.00715.10
7.4.160.0100.00315.21
7.4.150.0090.00615.07
7.4.140.0080.00715.02
7.4.130.0120.00415.11
7.4.120.0110.00415.04
7.4.110.0100.00515.09
7.4.100.0070.00715.09
7.4.90.0120.00315.10
7.4.80.0090.00515.07
7.4.70.0090.00515.02
7.4.60.0090.00415.06
7.4.50.0100.00514.96
7.4.40.0090.00514.92
7.4.30.0110.00314.95
7.4.20.0120.00315.03
7.4.10.0100.00415.12
7.4.00.0100.00415.07
7.3.330.0030.00316.16
7.3.320.0030.00312.91
7.3.310.0080.00614.76
7.3.300.0090.00614.72
7.3.290.0090.00314.75
7.3.280.0060.00614.79
7.3.270.0090.00414.90
7.3.260.0090.00414.94
7.3.250.0100.00314.87
7.3.240.0110.00214.79
7.3.230.0060.00514.83
7.3.220.0090.00414.81
7.3.210.0100.00414.71
7.3.200.0100.00314.74
7.3.190.0100.00314.72
7.3.180.0110.00414.70
7.3.170.0100.00514.86
7.3.160.0080.00614.76
7.3.150.0100.00414.71
7.3.140.0100.00214.75
7.3.130.0100.00314.73
7.3.120.0100.00314.68
7.3.110.0090.00514.66
7.3.100.0110.00214.62
7.3.90.0100.00415.07
7.3.80.0100.00414.76
7.3.70.0100.00514.94
7.3.60.0080.00514.90
7.3.50.0100.00315.01
7.3.40.0100.00415.00
7.3.30.0110.00415.08
7.3.20.0100.00516.76
7.3.10.0120.00316.77
7.3.00.0080.00416.58

preferences:
118.09 ms | 403 KiB | 5 Q