3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { function __construct(\stdClass $a) { } } $x = new A(null);

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.00918.43
8.3.50.0040.01118.27
8.3.40.0080.00618.82
8.3.30.0080.00618.57
8.3.20.0070.00020.04
8.3.10.0040.00421.77
8.3.00.0060.00319.85
8.2.180.0080.00825.92
8.2.170.0040.01122.96
8.2.160.0110.00422.02
8.2.150.0050.00324.18
8.2.140.0020.00524.66
8.2.130.0040.00421.12
8.2.120.0060.00326.35
8.2.110.0100.00021.95
8.2.100.0090.00319.39
8.2.90.0080.00017.91
8.2.80.0030.00619.05
8.2.70.0000.00917.80
8.2.60.0040.00417.93
8.2.50.0040.00418.10
8.2.40.0090.00022.37
8.2.30.0070.00019.30
8.2.20.0050.00317.80
8.2.10.0080.00318.09
8.2.00.0070.00018.15
8.1.280.0110.00325.92
8.1.270.0040.00423.99
8.1.260.0030.00526.35
8.1.250.0050.00328.09
8.1.240.0060.00323.88
8.1.230.0040.00720.95
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.22
8.1.190.0030.00617.23
8.1.180.0050.00318.10
8.1.170.0090.00018.51
8.1.160.0060.00318.76
8.1.150.0000.00820.12
8.1.140.0070.00017.57
8.1.130.0030.00318.72
8.1.120.0000.00717.34
8.1.110.0000.00717.38
8.1.100.0070.00017.29
8.1.90.0030.00617.22
8.1.80.0000.00717.23
8.1.70.0040.00417.26
8.1.60.0040.00417.52
8.1.50.0000.00817.41
8.1.40.0050.00317.33
8.1.30.0040.00417.52
8.1.20.0030.00617.61
8.1.10.0000.01217.50
8.1.00.0050.00217.44
8.0.300.0040.00420.16
8.0.290.0000.00716.75
8.0.280.0080.00018.34
8.0.270.0030.00317.19
8.0.260.0030.00716.70
8.0.250.0030.00316.83
8.0.240.0000.00816.78
8.0.230.0000.00716.96
8.0.220.0030.00316.88
8.0.210.0030.00316.90
8.0.200.0070.00016.96
8.0.190.0000.00716.91
8.0.180.0070.00016.88
8.0.170.0040.00416.82
8.0.160.0050.00216.89
8.0.150.0040.00416.79
8.0.140.0030.00616.88
8.0.130.0030.00313.27
8.0.120.0070.00016.82
8.0.110.0040.00416.89
8.0.100.0000.00716.94
8.0.90.0040.00416.73
8.0.80.0070.01016.84
8.0.70.0050.00216.83
8.0.60.0000.00716.78
8.0.50.0030.00516.71
8.0.30.0110.00917.03
8.0.20.0100.00917.40
8.0.10.0070.00016.82
8.0.00.0140.00716.57
7.4.330.0040.00015.55
7.4.320.0030.00316.48
7.4.300.0000.00716.47
7.4.290.0050.00216.49
7.4.280.0040.00416.52
7.4.270.0040.00416.29
7.4.260.0000.00716.47
7.4.250.0030.00316.39
7.4.240.0070.00016.58
7.4.230.0000.00716.47
7.4.220.0070.00016.38
7.4.210.0030.01716.33
7.4.200.0000.00716.63
7.4.160.0100.00616.44
7.4.150.0120.00617.40
7.4.140.0080.00917.86
7.4.130.0150.00316.65
7.4.120.0090.01016.50
7.4.110.0030.01416.52
7.4.100.0100.00716.79
7.4.90.0190.00416.31
7.4.80.0070.01519.39
7.4.70.0090.00916.30
7.4.60.0110.00616.47
7.4.50.0060.01016.43
7.4.40.0130.00316.14
7.4.00.0080.00814.89
7.3.330.0050.00013.22
7.3.320.0030.00313.27
7.3.310.0030.00316.44
7.3.300.0030.00316.38
7.3.290.0090.00716.34
7.3.280.0040.01116.30
7.3.270.0120.00617.40
7.3.260.0150.00816.45
7.3.250.0090.00916.37
7.3.240.0090.01016.29
7.3.230.0080.00816.54
7.3.210.0100.00716.27
7.3.200.0170.00316.30
7.3.190.0070.01016.39
7.3.180.0130.00316.25
7.3.170.0060.01016.57
7.3.160.0120.00316.33
7.3.120.0030.01714.87
7.3.110.0060.01214.73
7.3.100.0000.01014.52
7.3.90.0100.00714.57
7.3.80.0030.01614.80
7.3.70.0030.01214.65
7.3.60.0030.00714.45
7.3.50.0060.01014.78
7.3.40.0000.01314.38
7.3.30.0000.01114.47
7.3.20.0000.00916.73
7.3.10.0030.00916.34
7.3.00.0000.00816.69
7.2.330.0030.01416.63
7.2.320.0100.00716.63
7.2.310.0090.00916.61
7.2.300.0130.00916.46
7.2.290.0060.01116.29
7.2.250.0140.00715.05
7.2.240.0070.01415.16
7.2.230.0060.00914.88
7.2.220.0030.01214.91
7.2.210.0120.00314.79
7.2.200.0100.00614.77
7.2.190.0030.01014.95
7.2.180.0100.00614.82
7.2.170.0100.00314.61
7.2.60.0070.00716.56
7.2.10.0480.01417.45
7.2.00.0330.01417.98
7.1.330.0060.00915.57
7.1.320.0070.00715.85
7.1.310.0060.00615.52
7.1.300.0090.00615.69
7.1.290.0000.01115.75
7.1.280.0080.00615.48
7.1.270.0030.00615.24
7.1.260.0050.00315.65
7.1.200.0070.00715.59
7.1.130.0410.00616.92
7.1.120.0380.01016.59
7.1.110.0360.00715.74
7.1.100.0360.00715.96
7.1.90.0510.01015.64
7.1.80.0360.01415.86
7.1.70.0330.00714.89
7.1.60.0840.01032.92
7.1.50.0510.01432.89
7.1.40.0530.01332.50
7.1.30.0450.01932.52
7.1.20.0460.02032.66
7.1.10.0320.01214.63
7.1.00.0320.00614.58

preferences:
95.48 ms | 400 KiB | 5 Q