3v4l.org

run code in 300+ PHP versions simultaneously
<?php function get_callbacks() { public static $callbacks; if (!$callbacks) { $callbacks = array_merge(array( 'uninitialized', 'loading', 'loaded', 'interactive', 'complete', 'failure', 'success' ), range(100, 599)); } return $callbacks; }

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.350.0060.04012.03
5.4.340.0050.03712.03
5.4.320.0080.03612.52
5.4.310.0030.04212.51
5.4.300.0050.03912.52
5.4.290.0090.03612.51
5.4.280.0080.03712.41
5.4.270.0080.04712.40
5.4.260.0090.03912.40
5.4.250.0090.03812.40
5.4.240.0060.04712.40
5.4.230.0070.04412.40
5.4.220.0100.03612.40
5.4.210.0110.04012.40
5.4.200.0110.03912.39
5.4.190.0060.03712.39
5.4.180.0050.03912.39
5.4.170.0080.03512.40
5.4.160.0050.04512.39
5.4.150.0090.03812.39
5.4.140.0090.03712.09
5.4.130.0050.03612.06
5.4.120.0040.03712.03
5.4.110.0080.03412.02
5.4.100.0050.03912.03
5.4.90.0110.04612.03
5.4.80.0130.06212.03
5.4.70.0060.04012.02
5.4.60.0050.03812.02
5.4.50.0060.03912.02
5.4.40.0090.03712.01
5.4.30.0110.03712.01
5.4.20.0070.03612.00
5.4.10.0030.03712.01
5.4.00.0030.04211.50
5.3.290.0070.03812.80
5.3.280.0090.03412.71
5.3.270.0090.03712.72
5.3.260.0070.04312.72
5.3.250.0080.08112.72
5.3.240.0070.03612.72
5.3.230.0050.03912.71
5.3.220.0120.03312.68
5.3.210.0080.04012.68
5.3.200.0130.04012.68
5.3.190.0110.05512.68
5.3.180.0130.03912.67
5.3.170.0040.04212.67
5.3.160.0090.04012.67
5.3.150.0160.05512.68
5.3.140.0050.04012.66
5.3.130.0070.04212.66
5.3.120.0070.03912.66
5.3.110.0130.04012.66
5.3.100.0220.12212.13
5.3.90.0050.04712.11
5.3.80.0050.04112.09
5.3.70.0110.03312.09
5.3.60.0090.03612.08
5.3.50.0080.03912.02
5.3.40.0190.08212.02
5.3.30.0090.04311.98
5.3.20.0050.03911.77
5.3.10.0080.03811.73
5.3.00.0050.03911.71
5.2.170.0040.0379.22
5.2.160.0040.0349.21
5.2.150.0060.0409.21
5.2.140.0050.0409.21
5.2.130.0040.0369.17
5.2.120.0060.0319.17
5.2.110.0050.0329.18
5.2.100.0080.0339.18
5.2.90.0050.0299.17
5.2.80.0070.0349.17
5.2.70.0080.0309.17
5.2.60.0080.0289.12
5.2.50.0060.0339.09
5.2.40.0050.0309.07
5.2.30.0070.0289.05
5.2.20.0060.0309.04
5.2.10.0040.0298.95
5.2.00.0040.0338.81
5.1.60.0030.0258.08
5.1.50.0070.0258.08
5.1.40.0060.0258.06
5.1.30.0040.0278.43
5.1.20.0050.0278.43
5.1.10.0080.0278.16
5.1.00.0080.0248.16
5.0.50.0030.0226.64
5.0.40.0020.0226.50
5.0.30.0050.0356.31
5.0.20.0040.0216.29
5.0.10.0060.0196.26
5.0.00.0040.0346.24
4.4.90.0040.0164.77
4.4.80.0000.0214.76
4.4.70.0050.0164.76
4.4.60.0030.0154.75
4.4.50.0030.0164.77
4.4.40.0030.0254.70
4.4.30.0010.0184.76
4.4.20.0030.0184.84
4.4.10.0090.0184.84
4.4.00.0060.0304.76
4.3.110.0070.0224.67
4.3.100.0040.0214.66
4.3.90.0060.0214.64
4.3.80.0060.0294.58
4.3.70.0030.0154.63
4.3.60.0020.0164.63
4.3.50.0010.0174.62
4.3.40.0030.0244.54
4.3.30.0010.0173.30
4.3.20.0020.0163.28
4.3.10.0020.0183.23
4.3.00.0170.0206.76

preferences:
143.75 ms | 1394 KiB | 7 Q