3v4l.org

run code in 300+ PHP versions simultaneously
<?php $className = "SplFileInfo"; //$reflection = new ReflectionClass(); //$instance = $reflection->newInstanceWithoutConstructor(); $serializedString = sprintf( '%s:%d:"%s":0:{}', 'O', strlen($className), $className ); unserialize($serializedString);

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.40.0090.00918.82
8.3.30.0070.00719.14
8.3.20.0050.00320.30
8.3.10.0080.00023.52
8.3.00.0050.00317.63
8.2.170.0100.00722.96
8.2.160.0070.00720.41
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0020.00526.16
8.2.120.0080.00020.90
8.2.110.0000.00920.35
8.2.100.0040.00817.84
8.2.90.0060.00317.75
8.2.80.0000.00817.97
8.2.70.0030.00617.93
8.2.60.0040.00418.16
8.2.50.0040.00418.10
8.2.40.0040.00418.16
8.2.30.0030.00517.89
8.2.20.0040.00417.56
8.2.10.0030.00518.13
8.2.00.0000.00717.65
8.1.270.0080.00023.96
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00622.19
8.1.230.0110.00019.01
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0030.00617.23
8.1.190.0060.00317.36
8.1.180.0000.00818.10
8.1.170.0000.00818.63
8.1.160.0050.00321.83
8.1.150.0040.00418.96
8.1.140.0000.00717.37
8.1.130.0000.00717.75
8.1.120.0000.00717.48
8.1.110.0000.00817.29
8.1.100.0000.00717.31
8.1.90.0000.01017.33
8.1.80.0000.00817.29
8.1.70.0000.00717.41
8.1.60.0030.00517.46
8.1.50.0040.00417.59
8.1.40.0050.00317.51
8.1.30.0050.00317.65
8.1.20.0000.00717.57
8.1.10.0000.00817.47
8.1.00.0000.00817.48
8.0.300.0040.00721.63
8.0.290.0040.00416.75
8.0.280.0030.00518.30
8.0.270.0050.00217.18
8.0.260.0030.00317.19
8.0.250.0030.00316.97
8.0.240.0040.00416.83
8.0.230.0000.01016.85
8.0.220.0000.00716.77
8.0.210.0070.00016.78
8.0.200.0030.00316.91
8.0.190.0030.00416.88
8.0.180.0040.00416.90
8.0.170.0070.00016.91
8.0.160.0070.00016.86
8.0.150.0040.00416.76
8.0.140.0040.00416.83
8.0.130.0030.00313.34
8.0.120.0040.00416.88
8.0.110.0000.00816.96
8.0.100.0030.00516.70
8.0.90.0050.00216.88
8.0.80.0120.00916.93
8.0.70.0040.00416.89
8.0.60.0000.00716.87
8.0.50.0040.00416.84
8.0.30.0100.01316.91
8.0.20.0080.01117.40
8.0.10.0040.00416.87
8.0.00.0070.01316.85
7.4.330.0060.00015.07
7.4.320.0030.00316.30
7.4.300.0100.00016.36
7.4.290.0070.00016.58
7.4.280.0040.00416.45
7.4.270.0000.00716.52
7.4.260.0070.00016.45
7.4.250.0030.00516.41
7.4.240.0020.00516.42
7.4.230.0070.00016.51
7.4.220.0140.00416.54
7.4.210.0090.00516.61
7.4.200.0040.00416.34
7.4.160.0120.00416.50
7.4.150.0100.01017.40
7.4.140.0040.01717.86
7.4.130.0100.00716.62
7.4.120.0110.00816.42
7.4.110.0080.00816.50
7.4.100.0110.00616.55
7.4.90.0120.00416.50
7.4.80.0220.00319.39
7.4.70.0140.00316.34
7.4.60.0140.00316.40
7.4.50.0040.00416.64
7.4.40.0120.00416.52
7.4.30.0130.00316.59
7.4.00.0080.00415.07
7.3.330.0050.00013.07
7.3.320.0050.00013.11
7.3.310.0040.00416.35
7.3.300.0030.00316.25
7.3.290.0060.01316.26
7.3.280.0090.00716.28
7.3.270.0080.00817.40
7.3.260.0060.01216.50
7.3.250.0110.00816.48
7.3.240.0140.00316.49
7.3.230.0170.00316.39
7.3.210.0060.01016.46
7.3.200.0070.01619.39
7.3.190.0100.00616.40
7.3.180.0120.00416.41
7.3.170.0120.00316.31
7.3.160.0070.01016.48
7.2.330.0110.00616.28
7.2.320.0060.00916.54
7.2.310.0100.01416.52
7.2.300.0100.00716.52
7.2.290.0140.00316.54
7.2.00.0000.01519.48
7.1.100.0040.01217.91
7.1.70.0040.01116.86
7.1.60.0100.01419.40
7.1.50.0140.00716.89
7.1.00.0000.08022.27
7.0.200.0000.00716.67
7.0.140.0030.07322.11
7.0.60.0000.06019.80
7.0.50.0070.06017.91
7.0.40.0070.05720.20
7.0.30.0300.07720.01
7.0.20.0300.04320.13
7.0.10.0070.07020.19
7.0.00.0000.05020.04
5.6.280.0070.07020.80
5.6.210.0100.08020.60
5.6.200.0100.05018.23
5.6.190.0030.04720.32
5.6.180.0230.07320.35
5.6.170.0270.07720.54
5.6.160.0000.05720.71
5.6.150.0100.05718.22
5.6.140.0130.07318.14
5.6.130.0000.04718.16
5.6.120.0130.07720.98
5.6.110.0100.08321.04
5.6.100.0130.08020.95
5.6.90.0170.08021.07
5.6.80.0030.07020.37
5.5.350.4230.04320.40
5.5.340.0170.07018.02
5.5.330.0070.05720.13
5.5.320.0330.04020.24
5.5.310.0270.05020.25
5.5.300.0100.03717.92
5.5.290.0070.05017.91
5.5.280.0070.04020.87
5.5.270.0130.07320.95
5.5.260.0070.08020.63
5.5.250.0030.08320.68
5.5.240.0130.08020.27
5.4.450.3730.04319.45
5.4.440.0200.02319.48
5.4.430.1470.06319.52
5.4.420.4030.03719.21
5.4.410.3970.04019.12
5.4.400.4400.03019.20
5.4.390.4330.04018.92
5.4.380.1900.03719.16
5.4.370.3170.04019.04
5.4.360.3770.03719.15
5.4.350.4800.03718.87
5.4.340.4230.03019.00
5.4.320.4800.04019.16
5.4.310.4530.04718.87
5.4.300.0100.06719.00
5.4.290.1070.05718.89
5.4.280.4800.03719.12
5.4.270.3800.04019.26
5.4.260.3670.03719.26
5.4.250.3070.04019.14
5.4.240.3830.03719.08
5.4.230.3570.04318.96
5.4.220.3670.04019.03
5.4.210.4300.03318.99
5.4.200.3670.03318.92
5.4.190.3930.04319.07
5.4.180.5030.03318.86
5.4.170.4370.04019.11
5.4.160.4530.03318.90
5.4.150.4830.03719.06
5.4.140.2830.03716.45
5.4.130.3630.03016.38
5.4.120.4030.03716.31
5.4.110.3470.05316.59
5.4.100.3930.03316.45
5.4.90.3400.03716.22
5.4.80.3930.03716.55
5.4.70.4800.03316.21
5.4.60.5300.03716.23
5.4.50.4430.03016.35
5.4.40.4570.03316.22
5.4.30.4470.03316.41
5.4.20.3770.03716.14
5.4.10.3270.03316.10
5.4.00.2530.03315.79
5.3.290.4430.04314.61
5.3.280.3530.03014.57
5.3.270.4230.04314.55
5.3.260.4770.04014.54
5.3.250.4600.03014.56
5.3.240.4000.03714.48
5.3.230.3100.03714.54
5.3.220.4030.03014.59
5.3.210.4000.05314.50
5.3.200.3870.03714.36
5.3.190.3770.03714.45
5.3.180.3570.03714.53
5.3.170.4600.04014.36
5.3.160.4300.03714.50
5.3.150.4700.03714.51
5.3.140.4200.03714.48
5.3.130.3370.04314.47
5.3.120.3530.04014.34
5.3.110.3600.03714.48
5.3.100.1730.03714.02
5.3.90.2130.03714.04
5.3.80.2830.04014.00
5.3.70.2900.04013.83
5.3.60.3330.03013.95
5.3.50.3100.03013.77
5.3.40.2430.04013.88
5.3.30.3200.03713.85
5.3.20.2770.03713.48
5.3.10.3000.03313.66
5.3.00.3000.03313.65
5.2.170.2230.02711.04
5.2.160.2830.02311.13
5.2.150.2430.03011.23
5.2.140.2030.03311.11
5.2.130.1730.02011.09
5.2.120.2100.02711.19
5.2.110.1730.03711.03
5.2.100.2500.02711.18
5.2.90.3300.02711.07
5.2.80.3330.03010.98
5.2.70.3600.02710.95
5.2.60.4300.03710.87
5.2.50.3870.03310.96
5.2.40.3070.02710.98
5.2.30.2830.03710.96
5.2.20.3330.02710.89
5.2.10.2670.02711.02
5.2.00.3400.02310.60
5.1.60.3200.02310.05
5.1.50.3000.02310.01
5.1.40.2600.0209.97
5.1.30.3000.02310.33
5.1.20.3200.02310.34
5.1.10.3000.02310.21
5.1.00.3100.02710.13
5.0.50.1570.0208.57
5.0.40.1930.0178.33
5.0.30.1800.0308.23
5.0.20.1530.0208.25
5.0.10.1700.0238.21
5.0.00.1630.0378.15
4.4.90.1700.0175.85
4.4.80.1900.0175.77
4.4.70.1770.0175.82
4.4.60.1530.0135.83
4.4.50.1570.0105.82
4.4.40.1830.0275.89
4.4.30.1570.0105.81
4.4.20.1830.0135.87
4.4.10.1930.0175.84
4.4.00.1900.0275.80
4.3.110.1000.0135.75
4.3.100.1670.0175.70
4.3.90.1470.0205.75
4.3.80.1800.0235.80
4.3.70.1800.0175.83
4.3.60.1900.0135.78
4.3.50.1770.0175.80
4.3.40.1600.0235.67
4.3.30.0870.0204.98
4.3.20.0670.0074.98
4.3.10.0600.0174.98
4.3.00.0630.0274.98

preferences:
40.69 ms | 400 KiB | 5 Q