3v4l.org

run code in 300+ PHP versions simultaneously
<?php class bla { function bar(){ return 'blee'; } } class blee { static $baz = "oh the baz of it"; } $foo = new bla; echo $foo::bar()::$baz;

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.0110.01118.43
8.3.60.0070.00716.63
8.3.50.0120.00521.25
8.3.40.0110.00718.66
8.3.30.0100.00718.56
8.3.20.0070.00020.39
8.3.10.0000.00823.66
8.3.00.0040.00423.66
8.2.180.0070.01116.75
8.2.170.0110.00422.96
8.2.160.0060.01020.23
8.2.150.0020.00524.18
8.2.140.0000.00824.66
8.2.130.0080.00021.05
8.2.120.0070.00026.35
8.2.110.0040.00721.18
8.2.100.0040.00717.93
8.2.90.0000.00919.09
8.2.80.0000.00917.97
8.2.70.0030.00617.38
8.2.60.0070.00017.80
8.2.50.0070.00018.07
8.2.40.0000.00920.28
8.2.30.0040.00419.43
8.2.20.0000.00917.59
8.2.10.0050.00317.87
8.2.00.0040.00417.87
8.1.280.0180.00425.92
8.1.270.0090.00023.99
8.1.260.0080.00028.09
8.1.250.0000.00828.09
8.1.240.0060.00322.38
8.1.230.0040.00719.17
8.1.220.0030.00617.74
8.1.210.0050.00318.77
8.1.200.0040.00417.36
8.1.190.0090.00017.35
8.1.180.0080.00018.10
8.1.170.0050.00318.47
8.1.160.0040.00420.69
8.1.150.0080.00018.66
8.1.140.0050.00319.50
8.1.130.0000.00717.59
8.1.120.0070.00017.38
8.1.110.0040.00417.33
8.1.100.0040.00417.35
8.1.90.0000.00817.40
8.1.80.0040.00417.30
8.1.70.0040.00417.28
8.1.60.0040.00417.50
8.1.50.0060.00317.54
8.1.40.0100.00017.51
8.1.30.0040.00417.54
8.1.20.0040.00417.60
8.1.10.0000.00817.55
8.1.00.0020.00517.52
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0030.00318.44
8.0.270.0070.00017.25
8.0.260.0060.00017.09
8.0.250.0050.00216.87
8.0.240.0030.00516.90
8.0.230.0030.00316.86
8.0.220.0070.00016.77
8.0.210.0070.00016.92
8.0.200.0060.00016.93
8.0.190.0040.00416.92
8.0.180.0000.00716.81
8.0.170.0000.00816.87
8.0.160.0040.00417.02
8.0.150.0060.00316.83
8.0.140.0050.00316.84
8.0.130.0070.00013.36
8.0.120.0030.00516.86
8.0.110.0040.00416.79
8.0.100.0040.00416.91
8.0.90.0040.00416.95
8.0.80.0080.00616.84
8.0.70.0000.00716.80
8.0.60.0030.00516.93
8.0.50.0080.00016.82
8.0.30.0080.00916.91
8.0.20.0090.00817.41
8.0.10.0060.00316.96
8.0.00.0070.01316.67
7.4.330.0020.00216.84
7.4.320.0020.00516.39
7.4.300.0000.00716.39
7.4.290.0000.00816.63
7.4.280.0050.00316.41
7.4.270.0030.00316.57
7.4.260.0060.00316.38
7.4.250.0070.00016.48
7.4.240.0050.00216.50
7.4.230.0030.00316.52
7.4.220.0110.00416.53
7.4.210.0000.01316.68
7.4.200.0070.00016.60
7.4.160.0090.00616.69
7.4.150.0030.01517.40
7.4.140.0050.01617.86
7.4.130.0090.00716.41
7.4.120.0050.01216.60
7.4.110.0120.00916.38
7.4.100.0070.01016.64
7.4.90.0110.00716.51
7.4.80.0030.01319.39
7.4.70.0100.00616.34
7.4.60.0070.01016.39
7.4.50.0070.00716.47
7.4.40.0080.00816.46
7.4.30.0150.00416.50
7.4.10.0100.00714.81
7.4.00.0070.00914.92
7.3.330.0000.00513.20
7.3.320.0030.00313.21
7.3.310.0030.00316.41
7.3.300.0030.00316.39
7.3.290.0070.00916.42
7.3.280.0090.00816.42
7.3.270.0120.00617.40
7.3.260.0050.01416.30
7.3.250.0070.01116.42
7.3.240.0080.00816.50
7.3.230.0070.01716.39
7.3.210.0100.00716.57
7.3.200.0070.01016.43
7.3.190.0060.01216.59
7.3.180.0070.01416.67
7.3.170.0080.01316.59
7.3.160.0100.00616.45
7.3.130.0120.00614.80
7.3.120.0080.01014.88
7.3.110.0070.01114.72
7.3.100.0050.01014.70
7.3.90.0050.00914.91
7.3.80.0080.00614.85
7.3.70.0050.00914.73
7.3.60.0080.00614.86
7.3.50.0070.00614.70
7.3.40.0070.00914.81
7.3.30.0090.00714.85
7.3.20.0080.00916.68
7.3.10.0040.01016.76
7.3.00.0060.00816.68
7.2.330.0130.00316.40
7.2.320.0030.01416.71
7.2.310.0060.01116.45
7.2.300.0060.01216.75
7.2.290.0100.00716.80
7.2.260.0060.00615.33
7.2.250.0060.01215.08
7.2.240.0040.01215.03
7.2.230.0080.00714.97
7.2.220.0040.01014.95
7.2.210.0060.00815.16
7.2.200.0070.00915.09
7.2.190.0050.00915.05
7.2.180.0060.00614.91
7.2.170.0080.00615.07
7.2.160.0070.00614.88
7.2.150.0080.00816.83
7.2.140.0060.00816.91
7.2.130.0040.00916.91
7.2.120.0080.00616.81
7.2.110.0040.01016.85
7.2.100.0050.00816.86
7.2.90.0060.00816.96
7.2.80.0050.00916.68
7.2.70.0060.00816.86
7.2.60.0080.00916.71
7.2.50.0050.00617.00
7.2.40.0080.00716.95
7.2.30.0020.01117.11
7.2.20.0070.00916.91
7.2.10.0030.01216.99
7.2.00.0050.00916.95
7.1.330.0070.00915.61
7.1.320.0050.01115.74
7.1.310.0080.00715.61
7.1.300.0060.00615.59
7.1.290.0080.00715.67
7.1.280.0070.00815.62
7.1.270.0060.00915.69
7.1.260.0090.00515.77
7.1.250.0020.01115.80
7.1.240.0000.01115.68
7.1.230.0100.00215.59
7.1.220.0080.00515.59
7.1.210.0070.00315.67
7.1.200.0080.00415.83
7.1.190.0050.00915.66
7.1.180.0060.00515.74
7.1.170.0020.00815.76
7.1.160.0070.00815.76
7.1.150.0060.00715.78
7.1.140.0050.01115.57
7.1.130.0040.01315.54
7.1.120.0010.00915.77
7.1.110.0000.01215.83
7.1.100.0060.00516.47
7.1.90.0080.00715.78
7.1.80.0080.00615.83
7.1.70.0020.00816.33
7.1.60.0080.00816.93
7.1.50.0070.00915.96
7.1.40.0070.00815.71
7.1.30.0020.01115.74
7.1.20.0030.01115.55
7.1.10.0050.00715.51
7.1.00.0040.03017.96
7.0.330.0040.00515.16
7.0.320.0070.00615.35
7.0.310.0070.00215.33
7.0.300.0070.00515.38
7.0.290.0030.01015.22
7.0.280.0030.00815.11
7.0.270.0070.00915.37
7.0.260.0100.00315.26
7.0.250.0060.00515.41
7.0.240.0050.00915.55
7.0.230.0120.00215.51
7.0.220.0050.00615.30
7.0.210.0060.00615.34
7.0.200.0020.00915.77
7.0.190.0080.00515.44
7.0.180.0090.00515.41
7.0.170.0040.00915.36
7.0.160.0010.00915.36
7.0.150.0030.00815.37
7.0.140.0050.00715.47
7.0.130.0050.00615.39
7.0.120.0060.00615.31
7.0.110.0090.00615.25
7.0.100.0050.00615.25
7.0.90.0050.00715.28
7.0.80.0030.00915.32
7.0.70.0050.00615.26
7.0.60.0080.02217.44
7.0.50.0040.02816.38
7.0.40.0040.02115.61
7.0.30.0110.01815.75
7.0.20.0070.01915.50
7.0.10.0080.03315.64
7.0.00.0110.03015.70
5.6.400.0080.00714.38
5.6.390.0040.00614.06
5.6.380.0050.00714.04
5.6.370.0050.00714.15
5.6.360.0030.01013.95
5.6.350.0050.00714.01
5.6.340.0030.00714.08
5.6.330.0050.00814.26
5.6.320.0060.00814.10
5.6.310.0070.00913.99
5.6.300.0040.01113.91
5.6.290.0040.01114.09
5.6.280.0030.02916.42
5.6.270.0040.00714.19
5.6.260.0060.00514.21
5.6.250.0040.00714.08
5.6.240.0040.01214.19
5.6.230.0080.00814.04
5.6.220.0050.00814.15
5.6.210.0060.02216.31
5.6.200.0050.02515.45
5.6.190.0060.02716.21
5.6.180.0160.02216.15
5.6.170.0100.03316.17
5.6.160.0040.02016.24
5.6.150.0050.02015.59
5.6.140.0090.03315.46
5.6.130.0010.02715.44
5.6.120.0080.01616.40
5.6.110.0080.03616.46
5.6.100.0080.03116.32
5.6.90.0060.02216.27
5.6.80.0060.01716.11
5.6.70.0070.00714.07
5.6.60.0040.01013.95
5.6.50.0050.00913.97
5.6.40.0110.00513.98
5.6.30.0050.01013.94
5.6.20.0090.00213.91
5.6.10.0080.00714.25
5.6.00.0060.00914.00
5.5.380.0090.00814.14
5.5.370.0050.00814.07
5.5.360.0090.00514.29
5.5.350.1470.01916.24
5.5.340.0100.01615.36
5.5.330.0070.01516.12
5.5.320.0210.02216.31
5.5.310.0140.01616.30
5.5.300.0040.03415.18
5.5.290.0070.02215.44
5.5.280.0060.02516.20
5.5.270.0090.02916.24
5.5.260.0070.03116.35
5.5.250.0090.02716.15
5.5.240.0140.02816.02
5.5.230.0050.00513.98
5.5.220.0070.00513.77
5.5.210.0030.01114.04
5.5.200.0030.01313.85
5.5.190.0050.00513.88
5.5.180.0030.01013.88
5.5.170.0020.01213.72
5.5.160.0070.00513.88
5.5.150.0030.01214.01
5.5.140.0080.00413.90
5.5.130.0040.01113.96
5.5.120.0070.00414.11
5.5.110.0040.00613.85
5.5.100.0030.00713.88
5.5.90.0070.00614.03
5.5.80.0030.00914.00
5.5.70.0080.00714.11
5.5.60.0050.00813.70
5.5.50.0070.00913.56
5.5.40.0090.00713.91
5.5.30.0080.00214.07
5.5.20.0070.00413.89
5.5.10.0060.00613.91
5.5.00.0090.00313.79

preferences:
56.64 ms | 401 KiB | 5 Q