3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test(){echo 'test'} $a = array( "my_func" => 'test' ); //check if there is some function or method if( is_callable( $a["my_func"] ) ) $a["my_func"]();

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.310.0070.03912.51
5.4.300.0090.03512.52
5.4.290.0060.03812.51
5.4.280.0030.03912.41
5.4.270.0060.04512.41
5.4.260.0090.04512.40
5.4.250.0110.04312.41
5.4.240.0080.04512.40
5.4.230.0070.05312.39
5.4.220.0090.04412.40
5.4.210.0090.04312.39
5.4.200.0060.04812.40
5.4.190.0140.03912.39
5.4.180.0080.04512.39
5.4.170.0060.04112.40
5.4.160.0030.03812.40
5.4.150.0100.04012.39
5.4.140.0140.04012.09
5.4.130.0050.04212.06
5.4.120.0070.04412.03
5.4.110.0060.04312.03
5.4.100.0080.03212.03
5.4.90.0110.04412.02
5.4.80.0090.04812.03
5.4.70.0070.04812.02
5.4.60.0150.05012.02
5.4.50.0040.05012.02
5.4.40.0080.04612.01
5.4.30.0060.04712.01
5.4.20.0100.04412.01
5.4.10.0060.04812.01
5.4.00.0040.05011.50
5.3.290.0050.04612.80
5.3.280.0060.05012.71
5.3.270.0120.04712.72
5.3.260.0080.05112.72
5.3.250.0080.04912.72
5.3.240.0090.04912.72
5.3.230.0070.04912.71
5.3.220.0070.05112.68
5.3.210.0070.05312.68
5.3.200.0060.05312.68
5.3.190.0080.04712.68
5.3.180.0120.04512.68
5.3.170.0080.04912.67
5.3.160.0050.05212.67
5.3.150.0080.05012.67
5.3.140.0070.05012.66
5.3.130.0030.05612.66
5.3.120.0100.05212.66
5.3.110.0060.05312.66
5.3.100.0060.04912.13
5.3.90.0060.04912.11
5.3.80.0110.04412.09
5.3.70.0080.04812.09
5.3.60.0090.03712.08
5.3.50.0050.03712.02
5.3.40.0050.03812.02
5.3.30.0060.03511.98
5.3.20.0020.03911.77
5.3.10.0090.03211.73
5.3.00.0060.03611.71
5.2.170.0010.0339.21
5.2.160.0050.0289.21
5.2.150.0050.0309.21
5.2.140.0040.0349.21
5.2.130.0030.0309.17
5.2.120.0060.0369.18
5.2.110.0100.0369.18
5.2.100.0060.0399.18
5.2.90.0070.0389.17
5.2.80.0060.0409.18
5.2.70.0070.0399.17
5.2.60.0060.0359.12
5.2.50.0020.0369.09
5.2.40.0040.0349.06
5.2.30.0030.0329.05
5.2.20.0070.0289.04
5.2.10.0030.0308.95
5.2.00.0040.0298.80
5.1.60.0010.0288.09
5.1.50.0050.0268.09
5.1.40.0030.0278.07
5.1.30.0070.0268.42
5.1.20.0060.0298.43
5.1.10.0050.0258.16
5.1.00.0030.0298.16
5.0.50.0070.0196.64
5.0.40.0050.0226.50
5.0.30.0030.0336.31
5.0.20.0020.0236.28
5.0.10.0050.0196.26
5.0.00.0040.0326.25
4.4.90.0050.0134.78
4.4.80.0030.0164.76
4.4.70.0040.0164.75
4.4.60.0040.0164.75
4.4.50.0020.0174.77
4.4.40.0020.0284.71
4.4.30.0050.0134.76
4.4.20.0030.0164.84
4.4.10.0030.0164.85
4.4.00.0050.0244.75
4.3.110.0030.0164.67
4.3.100.0030.0154.66
4.3.90.0020.0164.63
4.3.80.0040.0244.59
4.3.70.0050.0134.63
4.3.60.0050.0134.63
4.3.50.0060.0124.63
4.3.40.0050.0224.54
4.3.30.0020.0173.30
4.3.20.0020.0193.29
4.3.10.0010.0183.24
4.3.00.0100.0277.21

preferences:
140.98 ms | 1394 KiB | 7 Q