3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = 'stdClass'; $toto = new $test(); $toto->test = 'test'; var_dump($toto);

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.0040.01116.50
8.3.50.0140.00716.63
8.3.40.0100.01018.81
8.3.30.0180.00418.74
8.3.20.0040.00420.20
8.3.10.0080.00023.61
8.3.00.0000.00722.15
8.2.180.0080.00816.63
8.2.170.0110.00722.96
8.2.160.0110.00418.91
8.2.150.0000.00824.18
8.2.140.0030.00524.66
8.2.130.0040.00420.97
8.2.120.0140.00026.35
8.2.110.0100.00022.10
8.2.100.0120.00017.47
8.2.90.0070.00019.13
8.2.80.0040.00417.97
8.2.70.0000.00917.63
8.2.60.0040.00417.91
8.2.50.0030.00618.10
8.2.40.0040.00420.22
8.2.30.0040.00420.88
8.2.20.0040.00418.00
8.2.10.0040.00417.91
8.2.00.0000.00717.92
8.1.280.0040.01125.92
8.1.270.0000.00722.19
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0040.00423.92
8.1.230.0110.00022.25
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0040.00417.23
8.1.180.0060.00318.10
8.1.170.0000.00818.55
8.1.160.0050.00318.96
8.1.150.0040.00418.69
8.1.140.0000.00719.47
8.1.130.0030.00318.83
8.1.120.0040.00417.29
8.1.110.0000.00817.35
8.1.100.0030.00517.40
8.1.90.0030.00617.29
8.1.80.0000.00717.36
8.1.70.0000.00717.29
8.1.60.0040.00417.49
8.1.50.0070.00317.44
8.1.40.0040.00417.46
8.1.30.0000.00817.54
8.1.20.0000.00717.55
8.1.10.0040.00417.55
8.1.00.0030.00617.39
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0070.00018.34
8.0.270.0050.00217.09
8.0.260.0030.00316.73
8.0.250.0030.00316.79
8.0.240.0040.00416.88
8.0.230.0040.00416.86
8.0.220.0030.00316.81
8.0.210.0030.00316.79
8.0.200.0070.00016.84
8.0.190.0030.00616.84
8.0.180.0070.00016.75
8.0.170.0000.00816.80
8.0.160.0080.00016.85
8.0.150.0050.00316.67
8.0.140.0040.00416.62
8.0.130.0060.00313.29
8.0.120.0020.00516.71
8.0.110.0040.00416.80
8.0.100.0030.00516.72
8.0.90.0000.00716.67
8.0.80.0090.00616.70
8.0.70.0000.00816.89
8.0.60.0040.00416.71
8.0.50.0000.00716.77
8.0.30.0090.00916.89
8.0.20.0110.00817.40
8.0.10.0000.00716.81
8.0.00.0030.02016.53
7.4.330.0020.00215.55
7.4.320.0060.00016.41
7.4.300.0030.00316.41
7.4.290.0100.00016.32
7.4.280.0040.00416.57
7.4.270.0030.00316.45
7.4.260.0000.00716.56
7.4.250.0040.00416.41
7.4.240.0000.00716.52
7.4.230.0040.00416.42
7.4.220.0130.00316.60
7.4.210.0060.00916.40
7.4.200.0030.00316.60
7.4.160.0120.00616.55
7.4.150.0070.01117.40
7.4.140.0110.01117.86
7.4.130.0060.01316.43
7.4.120.0110.01116.50
7.4.110.0100.00716.41
7.4.100.0030.01316.35
7.4.90.0090.00916.51
7.4.80.0070.01419.39
7.4.70.0100.01016.64
7.4.60.0110.00616.31
7.4.50.0030.01216.68
7.4.40.0040.01216.28
7.4.30.0100.01016.27
7.4.00.0080.00314.61
7.3.330.0000.00613.09
7.3.320.0000.00513.23
7.3.310.0030.00316.27
7.3.300.0040.00416.30
7.3.290.0060.00816.27
7.3.280.0050.01016.24
7.3.270.0120.01217.40
7.3.260.0110.00916.40
7.3.250.0090.00816.43
7.3.240.0140.00416.32
7.3.230.0180.00916.30
7.3.210.0160.00416.62
7.3.200.0140.00716.21
7.3.190.0060.01016.36
7.3.180.0080.00816.21
7.3.170.0090.00616.56
7.3.160.0080.00816.49
7.3.00.0080.00816.56
7.2.330.0150.00916.35
7.2.320.0090.01316.36
7.2.310.0100.00716.61
7.2.300.0080.00816.35
7.2.290.0080.01416.62
7.2.130.0030.00616.70
7.2.120.0030.00616.91
7.2.110.0120.00016.96
7.2.100.0070.00716.95
7.2.90.0300.01115.72
7.2.80.0660.00715.65
7.2.70.0100.00615.83
7.2.60.0020.01315.71
7.2.50.0100.00516.03
7.2.40.0100.00715.95
7.2.30.0260.00515.88
7.2.20.0240.00715.92
7.2.10.0110.00515.95
7.2.00.0270.00415.89
7.1.250.0130.00015.75
7.1.240.0030.00615.79
7.1.230.0070.00715.73
7.1.220.0100.00015.77
7.1.210.0330.00714.81
7.1.200.0610.00714.69
7.1.190.0330.00814.68
7.1.180.0210.00714.80
7.1.170.0060.00614.81
7.1.160.0280.00514.74
7.1.150.0650.00514.82
7.1.140.0450.00414.74
7.1.130.0070.01014.91
7.1.120.0160.00614.76
7.1.110.0610.00414.86
7.1.100.0950.00614.75
7.1.90.1060.00714.74
7.1.80.0670.00514.94
7.1.70.0700.00814.72
7.1.60.0210.00423.59
7.1.50.0370.01223.72
7.1.40.0190.01023.80
7.1.30.1070.00523.70
7.1.20.0580.00823.83
7.1.10.0020.01214.89
7.1.00.0040.00914.73
7.0.330.0100.00315.34
7.0.320.0030.01015.03
7.0.310.0100.00814.30
7.0.300.0840.01014.45
7.0.290.0090.00514.43
7.0.280.0720.00814.38
7.0.270.0200.00914.44
7.0.260.0740.00314.39
7.0.250.0750.00614.57
7.0.240.0690.00814.35
7.0.230.0900.00514.55
7.0.220.0520.00314.45
7.0.210.0780.00314.57
7.0.200.0680.01014.62
7.0.190.0100.01114.35
7.0.180.0460.00614.28
7.0.170.0080.00614.45
7.0.160.1160.00314.33
7.0.150.0120.00514.45
7.0.140.0080.00614.42
7.0.130.0640.00614.33
7.0.120.0070.00714.68
7.0.110.0420.00314.41
7.0.100.0150.00614.31
7.0.90.0500.00814.33
7.0.80.0130.00214.40
7.0.70.0280.00614.46
7.0.60.0530.00814.54
7.0.50.0610.00714.54
7.0.40.0590.00813.52
7.0.30.0520.01113.55
7.0.20.0610.00713.38
7.0.10.0550.00813.59
7.0.00.0530.00713.45
5.6.380.0060.00614.12

preferences:
58.77 ms | 401 KiB | 5 Q