3v4l.org

run code in 300+ PHP versions simultaneously
<?php class X{ public $a = 12; function __construct(){print "xx\n";} } $reflection = new ReflectionClass("X"); $x = $reflection->newInstanceWithoutConstructor(); var_dump($x);

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.0130.00716.63
8.3.50.0070.01017.72
8.3.40.0150.00618.71
8.3.30.0070.01418.63
8.3.20.0040.00420.23
8.3.10.0000.00822.09
8.3.00.0000.00723.53
8.2.180.0070.00718.17
8.2.170.0110.00422.96
8.2.160.0130.00320.39
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0070.00720.43
8.2.120.0000.00726.35
8.2.110.0070.00419.37
8.2.100.0130.00017.78
8.2.90.0000.00819.17
8.2.80.0000.00917.97
8.2.70.0000.00917.50
8.2.60.0040.00417.80
8.2.50.0000.00718.16
8.2.40.0040.00420.55
8.2.30.0000.00719.23
8.2.20.0050.00218.23
8.2.10.0040.00418.04
8.2.00.0000.00717.99
8.1.280.0070.00725.92
8.1.270.0060.00323.99
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0030.00624.02
8.1.230.0080.00417.76
8.1.220.0060.00317.74
8.1.210.0060.00318.77
8.1.200.0000.00817.22
8.1.190.0090.00017.10
8.1.180.0040.00418.10
8.1.170.0000.00818.64
8.1.160.0050.00218.73
8.1.150.0000.00819.94
8.1.140.0040.00417.38
8.1.130.0050.00319.02
8.1.120.0070.00017.40
8.1.110.0090.00017.27
8.1.100.0070.00017.29
8.1.90.0040.00717.41
8.1.80.0070.00317.37
8.1.70.0030.00317.43
8.1.60.0040.00417.51
8.1.50.0040.00417.33
8.1.40.0070.00017.30
8.1.30.0050.00217.49
8.1.20.0040.00417.58
8.1.10.0040.00417.60
8.1.00.0030.00517.45
8.0.300.0050.00218.77
8.0.290.0040.00416.58
8.0.280.0040.00418.25
8.0.270.0000.00717.14
8.0.260.0030.00318.30
8.0.250.0030.00516.89
8.0.240.0030.00316.81
8.0.230.0030.00616.86
8.0.220.0070.00016.79
8.0.210.0030.00316.86
8.0.200.0040.00416.77
8.0.190.0000.00816.91
8.0.180.0050.00316.70
8.0.170.0000.00716.75
8.0.160.0000.00816.84
8.0.150.0060.00316.77
8.0.140.0030.00516.69
8.0.130.0050.00213.30
8.0.120.0040.00416.67
8.0.110.0040.00416.84
8.0.100.0000.00716.68
8.0.90.0000.00716.84
8.0.80.0050.01016.84
8.0.70.0000.00816.65
8.0.60.0000.00716.89
8.0.50.0040.00416.65
8.0.30.0080.00816.91
8.0.20.0100.01117.40
8.0.10.0000.00716.89
8.0.00.0090.00916.71
7.4.330.0020.00215.55
7.4.320.0030.00316.52
7.4.300.0060.00016.55
7.4.290.0070.00016.45
7.4.280.0030.00516.55
7.4.270.0000.00716.54
7.4.260.0030.00516.46
7.4.250.0000.00716.30
7.4.240.0030.00616.44
7.4.230.0030.00316.64
7.4.220.0140.00316.56
7.4.210.0080.00616.48
7.4.200.0030.00316.23
7.4.160.0090.00716.38
7.4.150.0070.01117.40
7.4.140.0120.00517.86
7.4.130.0060.01216.31
7.4.120.0090.00916.47
7.4.110.0070.01016.42
7.4.100.0070.01416.54
7.4.90.0150.00316.39
7.4.80.0150.00319.39
7.4.70.0100.00916.48
7.4.60.0050.01416.43
7.4.50.0070.00716.11
7.4.40.0070.01016.39
7.4.30.0120.00316.33
7.4.00.0090.01014.97
7.3.330.0020.00213.15
7.3.320.0000.00513.11
7.3.310.0000.00616.18
7.3.300.0030.00316.14
7.3.290.0030.00316.09
7.3.280.0080.01016.16
7.3.270.0080.00817.40
7.3.260.0070.01016.30
7.3.250.0140.00516.33
7.3.240.0050.01116.34
7.3.230.0140.00316.51
7.3.210.0030.01316.20
7.3.200.0070.01016.18
7.3.190.0090.00916.20
7.3.180.0070.01016.18
7.3.170.0110.00516.37
7.3.160.0060.00916.20
7.3.120.0070.01014.51
7.3.110.0070.01014.67
7.3.100.0090.00314.63
7.3.90.0070.00714.94
7.3.80.0060.00914.85
7.3.70.0040.00714.67
7.3.60.0030.01014.55
7.3.50.0030.01014.43
7.3.40.0000.01514.83
7.3.30.0030.01014.64
7.3.20.0080.00816.22
7.3.10.0120.00316.36
7.3.00.0030.00716.61
7.2.330.0130.00616.63
7.2.320.0070.01416.32
7.2.310.0110.00616.29
7.2.300.0100.01316.60
7.2.290.0090.00616.31
7.2.250.0030.01714.82
7.2.240.0070.01114.54
7.2.230.0150.00014.87
7.2.220.0040.00815.10
7.2.210.0030.01014.76
7.2.200.0060.00915.01
7.2.190.0030.00614.96
7.2.180.0040.01115.00
7.2.170.0030.01014.96
7.2.60.0000.01216.83
7.1.330.0070.00715.79
7.1.320.0100.00315.72
7.1.310.0040.00415.66
7.1.300.0050.00515.76
7.1.290.0070.00715.77
7.1.280.0030.01215.70
7.1.270.0050.00515.62
7.1.260.0040.00715.53
7.1.200.0000.00615.86
7.1.100.0670.01016.09
7.1.90.0770.00716.20
7.1.80.0660.00916.14
7.1.70.0740.00315.40
7.1.60.1100.01733.06
7.1.50.0990.00732.93
7.1.40.0980.01032.34
7.1.30.1000.01332.76
7.1.20.1010.01632.84
7.1.10.0960.01014.79
7.1.00.0880.00714.84
7.0.240.0870.01415.79
7.0.230.1150.00615.87
7.0.220.0790.01015.77
7.0.210.0840.01114.88
7.0.200.0700.01014.59
7.0.190.1060.00314.77
7.0.180.0760.00314.61
7.0.170.0900.00714.46
7.0.160.0880.01014.58
7.0.150.0840.01614.52
7.0.140.0890.00714.40
7.0.130.0970.01014.72
7.0.120.0850.01314.36
7.0.110.0800.01614.63
7.0.100.0850.01014.68
7.0.90.0850.01014.38
7.0.80.0860.00714.42
7.0.70.0700.00714.35
7.0.60.0870.01214.34
7.0.50.0880.01414.48
7.0.40.0830.01314.50
7.0.30.0920.01014.57
7.0.20.0780.01014.62
7.0.10.0740.01214.59
7.0.00.1340.01014.55

preferences:
59 ms | 400 KiB | 5 Q