3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace test\trololo; class C {}; $className = 'C'; $instance = new $className;

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.0070.01416.49
8.3.50.0130.00718.14
8.3.40.0160.00618.71
8.3.30.0180.00018.54
8.3.20.0070.00021.72
8.3.10.0040.00423.53
8.3.00.0040.00417.68
8.2.180.0110.00418.17
8.2.170.0070.00722.96
8.2.160.0150.00022.08
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0000.00719.27
8.2.120.0050.00326.35
8.2.110.0090.00022.13
8.2.100.0040.00817.84
8.2.90.0040.00417.91
8.2.80.0000.00818.22
8.2.70.0000.00917.77
8.2.60.0050.00317.80
8.2.50.0070.00018.10
8.2.40.0040.00420.42
8.2.30.0070.00019.36
8.2.20.0040.00417.92
8.2.10.0070.00017.97
8.2.00.0000.00817.95
8.1.280.0150.00425.92
8.1.270.0070.00023.91
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0100.00022.35
8.1.230.0030.00720.92
8.1.220.0000.00817.78
8.1.210.0000.00818.77
8.1.200.0000.00917.23
8.1.190.0030.00517.22
8.1.180.0070.00018.10
8.1.170.0000.00818.84
8.1.160.0040.00418.81
8.1.150.0000.00819.06
8.1.140.0000.00717.59
8.1.130.0030.00318.91
8.1.120.0000.00717.34
8.1.110.0080.00017.27
8.1.100.0000.00717.27
8.1.90.0000.00717.27
8.1.80.0030.00617.29
8.1.70.0030.00717.43
8.1.60.0000.00817.54
8.1.50.0000.00817.39
8.1.40.0000.00817.47
8.1.30.0080.00017.47
8.1.20.0080.00017.63
8.1.10.0030.00617.45
8.1.00.0030.00617.51
8.0.300.0040.00420.07
8.0.290.0080.00016.75
8.0.280.0070.00018.32
8.0.270.0030.00317.15
8.0.260.0050.00319.09
8.0.250.0030.00316.88
8.0.240.0030.00316.91
8.0.230.0070.00016.90
8.0.220.0020.00716.77
8.0.210.0030.00316.89
8.0.200.0000.00716.89
8.0.190.0020.00516.98
8.0.180.0040.00416.93
8.0.170.0050.00516.91
8.0.160.0040.00416.85
8.0.150.0000.00716.65
8.0.140.0030.00316.72
8.0.130.0030.00613.27
8.0.120.0000.00716.85
8.0.110.0000.00716.75
8.0.100.0040.00416.86
8.0.90.0000.00716.74
8.0.80.0030.01716.85
8.0.70.0050.00216.74
8.0.60.0030.00616.83
8.0.50.0050.00316.73
8.0.30.0090.01017.15
8.0.20.0140.00617.40
8.0.10.0040.00317.01
8.0.00.0150.00516.80
7.4.330.0000.00615.55
7.4.320.0050.00316.57
7.4.300.0000.00616.54
7.4.290.0050.00216.49
7.4.280.0030.00316.45
7.4.270.0000.01216.54
7.4.260.0080.00016.56
7.4.250.0070.00016.55
7.4.240.0030.00316.45
7.4.230.0000.00716.48
7.4.220.0000.00816.30
7.4.210.0090.00716.45
7.4.200.0070.00016.36
7.4.160.0070.01016.48
7.4.140.0100.00817.86
7.4.130.0120.01216.45
7.4.120.0140.00616.50
7.4.110.0040.01216.65
7.4.100.0100.00716.43
7.4.90.0140.00616.44
7.4.80.0090.01519.39
7.4.70.0130.00316.61
7.4.60.0070.00916.50
7.4.50.0080.00416.39
7.4.40.0070.01416.45
7.4.00.0100.00714.95
7.3.330.0020.00213.21
7.3.320.0060.00013.26
7.3.310.0070.00016.38
7.3.300.0000.00716.39
7.3.290.0070.00016.29
7.3.280.0040.01316.39
7.3.260.0110.00816.30
7.3.240.0100.00716.39
7.3.230.0110.00816.32
7.3.210.0130.00616.45
7.3.200.0060.00916.51
7.3.190.0030.01316.43
7.3.180.0060.01116.18
7.3.170.0110.00416.58
7.3.160.0070.00816.36
7.2.330.0100.00716.35
7.2.320.0060.01216.56
7.2.310.0090.01516.58
7.2.300.0100.00716.52
7.2.290.0100.01316.21
7.2.80.0060.00316.31
7.2.60.0070.00716.81
7.2.50.0110.00416.82
7.2.40.0340.01117.87
7.2.30.0390.01118.05
7.2.20.0420.01117.82
7.2.10.0450.01417.75
7.2.00.0390.01217.95
7.1.200.0070.00415.56
7.1.160.0520.01116.68
7.1.150.0460.01416.76
7.1.140.0860.01716.78
7.1.130.1060.01716.83
7.1.120.0350.01316.92
7.1.110.0350.01316.13
7.1.100.0390.00816.37
7.1.90.0580.00816.25
7.1.80.0560.01016.08
7.1.70.0490.00515.31
7.1.60.0640.01333.07
7.1.50.1020.02132.55
7.1.40.0900.01632.66
7.1.30.0870.01132.42
7.1.20.0850.01132.77
7.1.10.0690.01014.78
7.1.00.1360.01114.64

preferences:
62.26 ms | 400 KiB | 5 Q