3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo{ static $name = "foo"; } $foo = new Foo(); echo Foo::name;

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.70.0100.01316.58
8.3.60.0090.00618.56
8.3.50.0150.00521.20
8.3.40.0060.00918.68
8.3.30.0110.00418.71
8.3.20.0000.00720.25
8.3.10.0060.00321.77
8.3.00.0030.00519.51
8.2.190.0140.00316.58
8.2.180.0030.01018.68
8.2.170.0040.01122.96
8.2.160.0100.00319.29
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0020.00520.34
8.2.120.0040.00426.35
8.2.110.0030.00620.47
8.2.100.0080.00418.22
8.2.90.0030.00519.95
8.2.80.0000.00818.03
8.2.70.0030.00617.80
8.2.60.0030.00717.80
8.2.50.0050.00218.10
8.2.40.0040.00420.27
8.2.30.0070.00019.29
8.2.20.0050.00317.95
8.2.10.0040.00417.92
8.2.00.0000.00718.33
8.1.280.0040.01425.92
8.1.270.0040.00423.92
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0060.00319.13
8.1.230.0040.00819.20
8.1.220.0030.00617.79
8.1.210.0060.00318.77
8.1.200.0060.00317.48
8.1.190.0080.00017.23
8.1.180.0000.00918.10
8.1.170.0000.00818.50
8.1.160.0040.00418.88
8.1.150.0080.00020.11
8.1.140.0060.00319.61
8.1.130.0080.00018.88
8.1.120.0030.00317.37
8.1.110.0040.00417.32
8.1.100.0000.00717.33
8.1.90.0000.00717.43
8.1.80.0100.00017.34
8.1.70.0000.00717.43
8.1.60.0030.00617.47
8.1.50.0050.00317.51
8.1.40.0040.00417.42
8.1.30.0040.00417.68
8.1.20.0000.00817.63
8.1.10.0000.00817.61
8.1.00.0050.00317.45
8.0.300.0080.00019.60
8.0.290.0000.00916.75
8.0.280.0080.00018.38
8.0.270.0020.00517.28
8.0.260.0000.00618.98
8.0.250.0000.00716.99
8.0.240.0050.00217.00
8.0.230.0100.00017.02
8.0.220.0030.00516.83
8.0.210.0030.00316.96
8.0.200.0020.00516.98
8.0.190.0000.00916.89
8.0.180.0080.00016.87
8.0.170.0050.00216.88
8.0.160.0040.00416.85
8.0.150.0040.00416.89
8.0.140.0000.00716.87
8.0.130.0000.00513.40
8.0.120.0000.00716.83
8.0.110.0030.00516.81
8.0.100.0000.00816.88
8.0.90.0040.00416.80
8.0.80.0120.00616.93
8.0.70.0000.00716.81
8.0.60.0040.00416.93
8.0.50.0050.00217.05
8.0.30.0100.00717.06
8.0.20.0090.00917.40
8.0.10.0030.00516.95
8.0.00.0080.01116.65
7.4.330.0060.00015.55
7.4.320.0030.00316.38
7.4.300.0000.00616.56
7.4.290.0050.00316.63
7.4.280.0040.00416.39
7.4.270.0030.00316.48
7.4.260.0040.00416.46
7.4.250.0040.00416.59
7.4.240.0000.00716.49
7.4.230.0030.00316.44
7.4.220.0120.00616.39
7.4.210.0070.00816.57
7.4.200.0000.00716.23
7.4.160.0070.01116.57
7.4.150.0000.01717.40
7.4.140.0070.01217.86
7.4.130.0160.01016.54
7.4.120.0130.00816.57
7.4.110.0090.01116.42
7.4.100.0070.01016.48
7.4.90.0120.00616.43
7.4.80.0000.01819.39
7.4.70.0060.01316.57
7.4.60.0120.00416.41
7.4.50.0000.01016.53
7.4.40.0120.01216.46
7.4.30.0050.01116.55
7.4.00.0090.00614.84
7.3.330.0050.00013.15
7.3.320.0030.00313.07
7.3.310.0030.00316.30
7.3.300.0030.00316.26
7.3.290.0000.02016.30
7.3.280.0060.01016.28
7.3.270.0110.00617.40
7.3.260.0120.00816.43
7.3.240.0140.00516.51
7.3.230.0090.00616.32
7.3.210.0040.01216.21
7.3.200.0000.01716.37
7.3.190.0140.00316.46
7.3.180.0130.00316.40
7.3.170.0090.00616.41
7.3.160.0080.00816.29
7.3.120.0060.01214.79
7.3.110.0060.01414.78
7.3.100.0060.01314.84
7.3.90.0040.01114.85
7.3.80.0090.00314.85
7.3.70.0040.00814.86
7.3.60.0030.00914.54
7.3.50.0030.00714.59
7.3.40.0040.01114.83
7.3.30.0030.00714.61
7.3.20.0090.00016.74
7.3.10.0040.00816.70
7.3.00.0080.00816.57
7.2.330.0060.01016.70
7.2.320.0030.01416.75
7.2.310.0130.00316.71
7.2.300.0080.00816.60
7.2.290.0080.00816.60
7.2.250.0100.00715.23
7.2.240.0040.01514.94
7.2.230.0070.00714.94
7.2.220.0000.01414.63
7.2.210.0140.00315.00
7.2.200.0040.00415.09
7.2.190.0060.00914.90
7.2.180.0100.00315.00
7.2.170.0100.00315.05
7.2.160.0030.01515.00
7.2.150.0060.00616.78
7.2.140.0060.00616.97
7.2.130.0120.00516.82
7.2.120.0060.00816.79
7.2.110.0020.01316.83
7.2.100.0050.01516.76
7.2.90.0080.00816.89
7.2.80.0110.00516.84
7.2.70.0050.01616.67
7.2.60.0060.00916.77
7.2.50.0060.00817.02
7.2.40.0020.01516.82
7.2.30.0030.00616.86
7.2.20.0060.00616.72
7.2.10.0040.00716.90
7.2.00.0060.00917.69
7.1.330.0070.01115.50
7.1.320.0000.01015.64
7.1.310.0060.01015.52
7.1.300.0070.00415.75
7.1.290.0040.00715.69
7.1.280.0000.00915.66
7.1.270.0000.01415.77
7.1.260.0060.00615.30
7.1.250.0100.00315.57
7.1.240.0000.01215.58
7.1.230.0060.00315.63
7.1.220.0030.01015.66
7.1.210.0060.00615.48
7.1.200.0050.00815.63
7.1.190.0030.01015.42
7.1.180.0060.00615.68
7.1.170.0080.00815.50
7.1.160.0070.01015.30
7.1.150.0030.00615.75
7.1.140.0100.00315.77
7.1.130.0100.00015.72
7.1.120.0060.00615.66
7.1.110.0050.00515.53
7.1.100.0070.00415.45
7.1.90.0060.00615.53
7.1.80.0090.00315.71
7.1.70.0020.00916.40
7.1.60.0040.00916.50
7.1.50.0090.00616.26
7.1.40.0120.01024.95
7.1.30.0100.01024.71
7.1.20.0070.01124.87
7.1.10.0030.01215.98
7.1.00.0060.00616.06
7.0.330.0030.00915.29
7.0.320.0070.01015.37
7.0.310.0000.01115.43
7.0.300.0000.01115.39
7.0.290.0070.00715.46
7.0.280.0080.00015.30
7.0.270.0040.01115.23
7.0.260.0030.00615.16
7.0.250.0050.00315.34
7.0.240.0000.01215.03
7.0.230.0060.00615.36
7.0.220.0040.00715.46
7.0.210.0080.00315.38
7.0.200.0020.00616.02
7.0.190.0080.00515.11
7.0.180.0030.01015.65
7.0.170.0050.00815.76
7.0.160.0020.00915.56
7.0.150.0040.01215.70
7.0.140.0050.00815.75
7.0.130.0310.00914.83
7.0.120.0340.00514.83
7.0.110.0350.00814.79
7.0.100.0420.00814.72
7.0.90.0420.00814.83
7.0.80.0390.00614.64
7.0.70.0320.00914.86
7.0.60.0330.00715.54
7.0.50.0670.00815.73
7.0.40.0050.00714.82
7.0.30.0760.00813.89
7.0.20.0380.01014.84
7.0.10.0030.00714.79
7.0.00.0030.00914.82
5.6.400.0080.00414.45
5.6.390.0030.01014.11
5.6.380.0060.00914.04
5.6.370.0080.00414.52
5.6.360.0060.00613.97
5.6.350.0090.00614.16
5.6.340.0000.01113.96
5.6.330.0030.01013.91
5.6.320.0120.00014.39
5.6.310.0080.00314.33
5.6.300.0100.00713.97
5.6.290.0090.00614.43
5.6.280.0090.00314.06
5.6.270.0110.00314.23
5.6.260.0000.01414.20
5.6.250.0040.01114.41
5.6.240.0120.00314.46
5.6.230.0060.00614.25
5.6.220.0060.00614.46
5.6.210.0070.00414.34
5.6.200.0070.00714.21
5.6.190.0110.00414.32
5.6.180.0090.00314.51
5.6.170.0070.00714.42
5.6.160.0100.00713.97
5.6.150.0100.00714.22
5.6.140.0150.00414.27
5.6.130.0110.00714.20
5.6.120.0040.00414.46
5.6.110.0000.00814.16
5.6.100.0060.00614.09
5.6.90.0030.00714.26
5.6.80.0060.00614.27
5.6.70.0090.00314.34
5.6.60.0040.00414.25
5.6.50.0080.00414.21
5.6.40.0100.00314.01
5.6.30.0030.01214.34
5.6.20.0000.00914.23
5.6.10.0090.00614.22
5.6.00.0070.00314.19

preferences:
48.87 ms | 401 KiB | 5 Q