3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Client_Ticket { protected static $_events = [ 'event:trigger', function() { $me = "doop"; } ]; public foo() { $boo = function(){}; $d = ['d', function(){}]; } }

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)
5.4.260.0070.03812.38
5.4.250.0040.04012.38
5.4.240.0080.04312.38
5.4.230.0050.05012.37
5.4.220.0070.03612.37
5.4.210.0100.03212.37
5.4.200.0050.03812.37
5.4.190.0070.04012.36
5.4.180.0040.03812.36
5.4.170.0050.03612.37
5.4.160.0070.04212.36
5.4.150.0070.04112.36
5.4.140.0070.04512.05
5.4.130.0080.04012.03
5.4.120.0100.03612.00
5.4.110.0050.03511.99
5.4.100.0040.03611.99
5.4.90.0090.03611.99
5.4.80.0060.03711.99
5.4.70.0060.03911.99
5.4.60.0040.04111.98
5.4.50.0050.04211.99
5.4.40.0040.04111.98
5.4.30.0070.03911.97
5.4.20.0090.03211.96
5.4.10.0040.03611.97
5.4.00.0050.03611.46
5.3.280.0070.04312.71
5.3.270.0080.03612.72
5.3.260.0070.04212.72
5.3.250.0080.03512.72
5.3.240.0070.03612.72
5.3.230.0090.03912.71
5.3.220.0070.04212.68
5.3.210.0050.04512.68
5.3.200.0030.03912.68
5.3.190.0080.03512.68
5.3.180.0060.03812.67
5.3.170.0060.04512.67
5.3.160.0080.04012.67
5.3.150.0050.03712.67
5.3.140.0050.03712.66
5.3.130.0090.03512.66
5.3.120.0070.03712.66
5.3.110.0050.03912.66
5.3.100.0050.03712.12
5.3.90.0090.04612.09
5.3.80.0050.04312.08
5.3.70.0060.03712.07
5.3.60.0060.03612.07
5.3.50.0060.03612.00
5.3.40.0050.03712.00
5.3.30.0100.03811.94
5.3.20.0070.04011.72
5.3.10.0100.03511.68
5.3.00.0070.03411.66
5.2.170.0040.0309.17
5.2.160.0070.0269.17
5.2.150.0070.0359.17
5.2.140.0050.0329.16
5.2.130.0060.0339.13
5.2.120.0050.0329.13
5.2.110.0040.0299.13
5.2.100.0050.0289.14
5.2.90.0080.0299.13
5.2.80.0020.0339.13
5.2.70.0040.0379.12
5.2.60.0060.0289.07
5.2.50.0060.0369.05
5.2.40.0060.0279.02
5.2.30.0020.0329.00
5.2.20.0030.0308.98
5.2.10.0040.0288.90
5.2.00.0050.0328.75
5.1.60.0020.0268.04
5.1.50.0050.0288.04
5.1.40.0030.0308.03
5.1.30.0080.0268.37
5.1.20.0020.0338.40
5.1.10.0040.0298.13
5.1.00.0080.0258.12
5.0.50.0050.0296.59
5.0.40.0060.0206.45
5.0.30.0040.0376.27
5.0.20.0020.0236.23
5.0.10.0040.0266.21
5.0.00.0030.0306.21
4.4.90.0040.0164.78
4.4.80.0040.0244.75
4.4.70.0040.0144.76
4.4.60.0030.0164.75
4.4.50.0010.0194.77
4.4.40.0030.0274.70
4.4.30.0030.0194.76
4.4.20.0050.0244.84
4.4.10.0030.0204.85
4.4.00.0020.0264.75
4.3.110.0020.0164.67
4.3.100.0020.0164.66
4.3.90.0030.0214.64
4.3.80.0030.0294.59
4.3.70.0040.0204.63
4.3.60.0060.0164.63
4.3.50.0020.0214.63
4.3.40.0020.0244.54
4.3.30.0030.0163.28
4.3.20.0010.0163.27
4.3.10.0010.0223.23
4.3.00.0030.01013.22

preferences:
141.72 ms | 1394 KiB | 7 Q