3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$foo->bar()::baz() class foo { function bar(){ echo 'bar'; }} class bar { static $baz = 'bazz'; } $foo = new foo; 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.60.0120.00316.75
8.3.50.0170.00318.19
8.3.40.0170.00318.84
8.3.30.0140.00018.80
8.3.20.0120.00620.21
8.3.10.0040.00423.66
8.3.00.0050.00318.04
8.2.180.0100.00718.30
8.2.170.0170.00422.96
8.2.160.0030.01520.52
8.2.150.0100.01024.18
8.2.140.0100.00724.66
8.2.130.0040.00426.16
8.2.120.0030.00617.62
8.2.110.0100.00019.39
8.2.100.0050.00518.00
8.2.90.0090.00019.18
8.2.80.0000.00817.97
8.2.70.0080.00017.75
8.2.60.0030.00617.80
8.2.50.0030.00618.07
8.2.40.0030.00520.96
8.2.30.0030.00320.50
8.2.20.0050.00317.67
8.2.10.0050.00218.03
8.2.00.0050.00217.99
8.1.280.0040.01125.92
8.1.270.0100.01023.73
8.1.260.0000.00726.35
8.1.250.0020.00528.09
8.1.240.0090.00020.82
8.1.230.0110.00317.51
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0000.00817.22
8.1.180.0040.00418.10
8.1.170.0040.00418.84
8.1.160.0040.00421.85
8.1.150.0080.00018.71
8.1.140.0040.00419.53
8.1.130.0050.00217.58
8.1.120.0040.00317.36
8.1.110.0030.00517.30
8.1.100.0000.00717.30
8.1.90.0040.00417.43
8.1.80.0040.00417.37
8.1.70.0030.00317.36
8.1.60.0050.00317.54
8.1.50.0030.00617.53
8.1.40.0070.00317.52
8.1.30.0080.00017.55
8.1.20.0040.00417.59
8.1.10.0040.00417.47
8.1.00.0000.00817.53
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.46
8.0.270.0070.00017.32
8.0.260.0000.00717.36
8.0.250.0000.00716.93
8.0.240.0060.00016.95
8.0.230.0000.00716.95
8.0.220.0040.00416.84
8.0.210.0070.00016.91
8.0.200.0080.00016.99
8.0.190.0030.00616.94
8.0.180.0000.00716.83
8.0.170.0000.00816.85
8.0.160.0040.00416.95
8.0.150.0040.00416.81
8.0.140.0050.00316.88
8.0.130.0080.00013.37
8.0.120.0030.00516.71
8.0.110.0040.00416.91
8.0.100.0000.00816.96
8.0.90.0000.00716.85
8.0.80.0060.00916.85
8.0.70.0040.00416.87
8.0.60.0000.00716.94
8.0.50.0040.00416.87
8.0.30.0130.00716.89
8.0.20.0110.00817.40
8.0.10.0050.00217.08
8.0.00.0090.01016.67
7.4.330.0050.00015.08
7.4.320.0060.00016.55
7.4.300.0000.00616.52
7.4.290.0080.00016.46
7.4.280.0070.00016.64
7.4.270.0040.00716.62
7.4.260.0100.00016.62
7.4.250.0030.00316.57
7.4.240.0000.00716.53
7.4.230.0070.00016.55
7.4.220.0120.00616.59
7.4.210.0070.00716.59
7.4.200.0000.00716.70
7.4.160.0060.01016.41
7.4.150.0140.00317.40
7.4.140.0090.01617.86
7.4.130.0080.01116.61
7.4.120.0080.01116.63
7.4.110.0190.00416.51
7.4.100.0060.01516.45
7.4.90.0060.01216.59
7.4.80.0090.01319.39
7.4.70.0060.01116.39
7.4.60.0060.01116.57
7.4.50.0030.00516.62
7.4.40.0060.01216.60
7.4.30.0100.00716.38
7.4.00.0000.01415.00
7.3.330.0000.00613.37
7.3.320.0020.00213.42
7.3.310.0040.00416.35
7.3.300.0070.00016.38
7.3.290.0060.01116.37
7.3.280.0090.01116.33
7.3.270.0090.00917.40
7.3.260.0100.01416.39
7.3.250.0130.00516.42
7.3.240.0110.00816.44
7.3.230.0060.01216.39
7.3.210.0060.01116.29
7.3.200.0120.00416.59
7.3.190.0120.00416.36
7.3.180.0080.00816.59
7.3.170.0110.00516.39
7.3.160.0140.00316.30
7.2.330.0130.01016.73
7.2.320.0070.01116.32
7.2.310.0030.01316.29
7.2.300.0100.00716.71
7.2.290.0100.02016.75
7.2.110.0100.01616.49
7.2.100.0150.01116.45
7.2.90.0210.00716.55
7.2.80.0170.01116.50
7.2.70.0170.01416.80
7.2.60.0170.00516.68
7.2.50.0190.01016.74
7.2.40.0230.00316.95
7.2.30.0240.00516.86
7.2.20.0140.01016.86
7.2.10.0230.00716.93
7.2.00.0090.00718.26
7.1.230.0170.00815.54
7.1.220.0140.01015.52
7.1.210.0200.00715.60
7.1.200.0150.00515.66
7.1.190.0270.00015.56
7.1.180.0220.00515.63
7.1.170.0130.01015.67
7.1.160.0130.01015.61
7.1.150.0210.00415.60
7.1.140.0130.00715.31
7.1.130.0100.01515.36
7.1.120.0140.00815.24
7.1.110.0170.00915.42
7.1.100.0090.00916.69
7.1.90.0140.00715.70
7.1.80.0360.00415.50
7.1.70.0240.00916.24
7.1.60.0230.01117.37
7.1.50.0190.01116.27
7.1.40.0340.01815.66
7.1.30.0290.01015.89
7.1.20.0260.01215.57
7.1.10.0270.00315.59
7.1.00.0100.04319.03
7.0.310.0190.00415.35
7.0.300.0230.00415.29
7.0.290.0130.00915.37
7.0.280.0160.00815.06
7.0.270.0140.01115.27
7.0.260.0140.00715.22
7.0.250.0090.00915.10
7.0.240.0110.01115.39
7.0.230.0220.00315.16
7.0.220.0210.01215.00
7.0.210.0320.00815.14
7.0.200.0270.00315.99
7.0.190.0310.00515.21
7.0.180.0350.01115.27
7.0.170.0310.00615.31
7.0.160.0380.01215.21
7.0.150.0140.01415.54
7.0.140.0170.00915.21
7.0.130.0160.00615.31
7.0.120.0150.00915.49
7.0.110.0120.01515.48
7.0.100.0110.02317.64
7.0.90.0090.02617.54
7.0.80.0080.02317.69
7.0.70.0150.01817.68
7.0.60.0100.04717.68
7.0.50.0090.02717.88
7.0.40.0080.03016.63
7.0.30.0120.02016.76
7.0.20.0080.04116.79
7.0.10.0090.02616.74
7.0.00.0130.03716.66
5.6.380.0190.00414.11
5.6.370.0120.01114.14
5.6.360.0160.00814.16
5.6.350.0210.00414.16
5.6.340.0190.00714.16
5.6.330.0170.01114.08
5.6.320.0100.01714.15
5.6.310.0270.01714.04
5.6.300.0220.00414.14
5.6.290.0210.00513.85
5.6.280.0070.02317.49
5.6.270.0180.00913.95
5.6.260.0120.01514.10
5.6.250.0130.02517.36
5.6.240.0140.01917.45
5.6.230.0090.02617.44
5.6.220.0090.02617.40
5.6.210.0160.02217.44
5.6.200.0100.02717.51
5.6.190.0090.03117.43
5.6.180.0110.04817.47
5.6.170.0090.02217.62
5.6.160.0170.01817.69
5.6.150.0100.03317.44
5.6.140.0170.03017.58
5.6.130.0060.02517.50
5.6.120.0070.02917.54
5.6.110.0120.02017.48
5.6.100.0120.04317.54
5.6.90.0110.02717.66
5.6.80.0100.02317.24
5.6.70.0130.03617.25
5.6.60.0060.02617.27
5.6.50.0140.02017.22
5.6.40.0110.03517.28
5.6.30.0080.02517.35
5.6.20.0050.02517.18
5.6.10.0130.02117.20
5.6.00.0060.02517.22
5.5.380.0080.03315.59
5.5.370.0090.02315.60
5.5.360.0130.02015.48
5.5.350.0060.02115.58
5.5.340.0070.02815.95
5.5.330.0070.02515.95
5.5.320.0060.02815.92
5.5.310.0090.02315.87
5.5.300.0120.04015.87
5.5.290.0070.02515.86
5.5.280.0050.02515.91
5.5.270.0070.04615.79
5.5.260.0110.02215.89
5.5.250.0070.02715.78
5.5.240.0070.04115.49
5.5.230.0080.02215.41
5.5.220.0060.01915.43
5.5.210.0100.03715.61
5.5.200.0050.04315.61
5.5.190.0070.02315.50
5.5.180.0110.01715.56
5.5.170.0150.00913.96
5.5.160.0060.02115.57
5.5.150.0120.01315.64
5.5.140.0070.01915.54
5.5.130.0110.02615.44
5.5.120.0080.01915.44
5.5.110.0090.01815.42
5.5.100.0120.01515.56
5.5.90.0120.01715.46
5.5.80.0060.02215.50
5.5.70.0100.02115.48
5.5.60.0040.02315.34
5.5.50.0090.01715.37
5.5.40.0020.02315.34
5.5.30.0060.02015.55
5.5.20.0100.01915.44
5.5.10.0070.02015.45
5.5.00.0060.02215.47
5.4.450.0090.03014.86
5.4.440.0110.01715.11
5.4.430.0070.04215.09
5.4.420.0100.04814.88
5.4.410.0100.03715.15
5.4.400.0060.03714.76
5.4.390.0110.03014.91
5.4.380.0080.04114.81
5.4.370.0130.01814.84
5.4.360.0030.02214.90
5.4.350.0040.02514.89
5.4.340.0050.02015.05
5.4.330.0130.00410.54
5.4.320.0070.01814.79
5.4.310.0070.02015.08
5.4.300.0090.01514.90
5.4.290.0050.02015.03
5.4.280.0110.01615.04
5.4.270.0080.01614.85
5.4.260.0060.01915.10
5.4.250.0060.02014.80
5.4.240.0030.02214.92
5.4.230.0080.01814.91
5.4.220.0100.02014.82
5.4.210.0070.01814.88
5.4.200.0070.01714.94
5.4.190.0030.02414.93
5.4.180.0050.02414.90
5.4.170.0040.02114.84
5.4.160.0100.01714.88
5.4.150.0050.02114.85
5.4.140.0040.02013.70
5.4.130.0060.01913.56
5.4.120.0060.01913.59
5.4.110.0060.01913.65
5.4.100.0060.02113.58
5.4.90.0110.01713.54
5.4.80.0110.01413.69
5.4.70.0060.01913.71
5.4.60.0070.01713.55
5.4.50.0030.02213.62
5.4.40.0050.02013.70
5.4.30.0050.01913.61
5.4.20.0080.01613.66
5.4.10.0070.01713.56
5.4.00.0060.01813.31

preferences:
67.16 ms | 400 KiB | 5 Q