3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public $x=[1, 2, 3]; } new foo;

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.01018.16
8.3.50.0130.00621.20
8.3.40.0120.00318.50
8.3.30.0090.00618.34
8.3.20.0040.00421.82
8.3.10.0080.00020.21
8.3.00.0040.00423.61
8.2.180.0090.00918.42
8.2.170.0140.00022.96
8.2.160.0100.00720.43
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00818.63
8.2.110.0140.00320.93
8.2.100.0120.00017.66
8.2.90.0000.00820.45
8.2.80.0080.00018.86
8.2.70.0040.00417.80
8.2.60.0050.00317.84
8.2.50.0070.00018.10
8.2.40.0000.00719.17
8.2.30.0060.00319.13
8.2.20.0000.00717.87
8.2.10.0000.00718.99
8.2.00.0040.00419.02
8.1.280.0070.00725.92
8.1.270.0080.00021.89
8.1.260.0030.00526.35
8.1.250.0000.00728.09
8.1.240.0070.00322.34
8.1.230.0070.00420.95
8.1.220.0000.00917.74
8.1.210.0090.00018.85
8.1.200.0030.00617.13
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0000.01118.59
8.1.160.0000.00718.79
8.1.150.0070.00018.67
8.1.140.0000.00722.00
8.1.130.0000.00720.11
8.1.120.0030.00317.31
8.1.110.0040.00417.33
8.1.100.0030.00517.27
8.1.90.0070.00017.30
8.1.80.0030.00517.34
8.1.70.0000.00717.30
8.1.60.0050.00317.41
8.1.50.0040.00417.39
8.1.40.0060.00317.41
8.1.30.0000.00717.45
8.1.20.0030.00617.55
8.1.10.0000.00717.51
8.1.00.0000.00917.38
8.0.300.0100.00019.90
8.0.290.0060.00316.63
8.0.280.0080.00018.42
8.0.270.0000.00717.31
8.0.260.0080.00019.99
8.0.250.0030.00316.78
8.0.240.0030.00316.78
8.0.230.0030.00316.83
8.0.220.0030.00316.83
8.0.210.0040.00416.79
8.0.200.0000.00716.82
8.0.190.0000.00816.88
8.0.180.0040.00416.67
8.0.170.0090.00016.83
8.0.160.0000.01016.78
8.0.150.0000.00716.71
8.0.140.0040.00416.62
8.0.130.0090.00013.18
8.0.120.0000.00716.59
8.0.110.0000.00716.64
8.0.100.0030.00616.73
8.0.90.0080.00016.80
8.0.80.0090.00616.71
8.0.70.0090.00016.54
8.0.60.0000.00716.56
8.0.50.0040.00416.59
8.0.30.0150.00316.88
8.0.20.0060.01216.80
8.0.10.0070.00016.83
8.0.00.0140.00416.62
7.4.330.0000.00515.55
7.4.320.0000.00716.38
7.4.300.0080.00016.45
7.4.290.0030.00316.36
7.4.280.0040.00416.26
7.4.270.0030.00316.38
7.4.260.0000.00716.34
7.4.250.0040.00416.38
7.4.240.0020.00616.46
7.4.230.0000.00716.31
7.4.220.0030.00316.28
7.4.210.0090.01116.43
7.4.200.0070.00016.34
7.4.140.0090.01217.86
7.4.130.0030.01416.48
7.4.120.0130.00616.48
7.4.110.0080.00816.48
7.4.100.0110.00616.29
7.4.90.0030.01316.22
7.4.80.0110.01119.39
7.4.70.0100.00716.31
7.4.60.0120.01316.37
7.4.50.0120.00016.07
7.4.40.0040.01116.41
7.4.00.0070.00914.67
7.3.330.0050.00013.12
7.3.320.0030.00313.03
7.3.310.0000.00816.19
7.3.300.0000.00716.17
7.3.290.0040.00415.97
7.3.280.0060.01016.23
7.3.260.0100.00716.32
7.3.230.0170.00016.29
7.3.210.0110.00416.16
7.3.200.0080.00816.31
7.3.190.0060.00916.21
7.3.180.0130.00316.24
7.3.170.0120.00916.43
7.3.160.0040.01116.35
7.3.120.0110.00714.40
7.3.110.0070.01014.56
7.3.100.0060.00914.87
7.3.90.0040.00814.55
7.3.80.0060.00614.95
7.3.70.0060.00614.61
7.3.60.0080.00614.47
7.3.50.0020.01214.78
7.3.40.0050.00914.64
7.3.30.0120.00714.67
7.3.20.0030.01016.66
7.3.10.0050.01116.63
7.3.00.0030.01016.67
7.2.330.0120.00916.30
7.2.320.0070.01416.28
7.2.310.0060.00916.18
7.2.300.0090.00916.26
7.2.290.0070.00716.58
7.2.250.0120.00314.70
7.2.240.0030.01714.88
7.2.230.0060.00914.90
7.2.220.0100.00314.77
7.2.210.0060.00914.90
7.2.200.0120.00414.65
7.2.190.0070.00714.74
7.2.180.0080.01114.79
7.2.170.0030.01214.75
7.2.160.0090.00914.82
7.2.150.0150.00716.67
7.2.140.0100.01016.56
7.2.130.0110.00816.68
7.2.120.0090.00316.75
7.2.110.0040.01216.76
7.2.100.0090.01216.75
7.2.90.0080.00816.73
7.2.80.0150.00916.39
7.2.70.0060.01616.79
7.2.60.0120.01216.64
7.2.50.0060.01616.61
7.2.40.0150.00416.75
7.2.30.0070.01016.65
7.2.20.0070.01416.82
7.2.10.0110.00616.43
7.2.00.0100.00716.74
7.1.330.0100.00315.68
7.1.320.0120.00315.80
7.1.310.0100.00015.51
7.1.300.0050.00715.62
7.1.290.0050.00815.67
7.1.280.0090.00915.51
7.1.270.0030.00715.65
7.1.260.0070.00615.59
7.1.250.0160.00815.36

preferences:
52.3 ms | 404 KiB | 6 Q