3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* * Pass the variable value as an actual parameter to a function. DO_FCALL follows. * opcode number: 66 */ $a = array(1,2,3); if(is_array($a)){ return 0; } ?>

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.0070.01118.43
8.3.50.0130.00722.84
8.3.40.0110.00718.71
8.3.30.0070.00718.96
8.3.20.0110.00420.22
8.3.10.0000.00823.53
8.3.00.0090.00919.38
8.2.180.0070.01416.75
8.2.170.0100.00322.96
8.2.160.0070.00720.44
8.2.150.0090.00924.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00021.02
8.2.110.0070.00320.36
8.2.100.0040.00818.03
8.2.90.0000.00719.22
8.2.80.0080.00017.97
8.2.70.0070.00317.38
8.2.60.0000.00817.90
8.2.50.0040.00418.07
8.2.40.0000.00718.16
8.2.30.0050.00219.48
8.2.20.0070.00017.52
8.2.10.0000.00717.86
8.2.00.0000.00817.52
8.1.280.0120.00625.92
8.1.270.0030.00623.83
8.1.260.0070.00026.35
8.1.250.0060.01228.09
8.1.240.0050.00523.86
8.1.230.0070.00418.90
8.1.220.0070.00017.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0030.00517.23
8.1.180.0040.00418.10
8.1.170.0060.00318.58
8.1.160.0040.00421.95
8.1.150.0040.00418.79
8.1.140.0000.00817.38
8.1.130.0030.00317.69
8.1.120.0040.00417.40
8.1.110.0000.00817.41
8.1.100.0080.00017.38
8.1.90.0040.00317.29
8.1.80.0030.00317.39
8.1.70.0040.00417.29
8.1.60.0030.00617.48
8.1.50.0050.00317.32
8.1.40.0000.00717.46
8.1.30.0030.00617.56
8.1.20.0000.00717.64
8.1.10.0000.00717.40
8.1.00.0040.00417.22
8.0.300.0060.00318.77
8.0.290.0040.00416.63
8.0.280.0050.00418.25
8.0.270.0030.00317.17
8.0.260.0060.00017.09
8.0.250.0000.00716.79
8.0.240.0060.00016.81
8.0.230.0070.00016.82
8.0.220.0060.00016.71
8.0.210.0030.00316.85
8.0.200.0020.00516.76
8.0.190.0000.00816.76
8.0.180.0040.00416.76
8.0.170.0050.00216.85
8.0.160.0070.00016.63
8.0.150.0070.00016.66
8.0.140.0020.00516.66
8.0.130.0030.00313.23
8.0.120.0080.00016.68
8.0.110.0020.00516.80
8.0.100.0040.00416.63
8.0.90.0000.00716.90
8.0.80.0090.00616.79
8.0.70.0040.00416.68
8.0.60.0040.00416.75
8.0.50.0000.00816.64
8.0.30.0130.00917.05
8.0.20.0150.00517.40
8.0.10.0050.00316.82
8.0.00.0080.00916.54
7.4.330.0000.00515.00
7.4.320.0030.00316.42
7.4.300.0000.00616.33
7.4.290.0030.00316.51
7.4.280.0080.00316.51
7.4.270.0030.00316.43
7.4.260.0070.00016.52
7.4.250.0040.00416.50
7.4.240.0050.00216.43
7.4.230.0070.00016.40
7.4.220.0130.00316.46
7.4.210.0080.00516.35
7.4.200.0070.00016.22
7.4.160.0080.01116.23
7.4.150.0140.00417.40
7.4.140.0110.00517.86
7.4.130.0090.00716.39
7.4.120.0090.00916.43
7.4.110.0110.00516.60
7.4.100.0060.01016.46
7.4.90.0060.01016.20
7.4.80.0090.00619.39
7.4.70.0030.01216.32
7.4.60.0090.00916.52
7.4.50.0040.00416.13
7.4.40.0130.00316.12
7.4.30.0060.01016.39
7.4.00.0040.00714.98
7.3.330.0020.00212.87
7.3.320.0060.00012.86
7.3.310.0000.00716.07
7.3.300.0030.00316.14
7.3.290.0160.00316.18
7.3.280.0080.00716.11
7.3.270.0070.01117.40
7.3.260.0110.00716.33
7.3.250.0120.00516.22
7.3.240.0150.00416.13
7.3.230.0160.00716.41
7.3.210.0060.01216.19
7.3.200.0080.00819.39
7.3.190.0140.00716.46
7.3.180.0100.00616.35
7.3.170.0070.01416.37
7.3.160.0060.01016.46
7.3.10.0030.01016.40
7.3.00.0030.01016.34
7.2.330.0070.01016.34
7.2.320.0030.01316.53
7.2.310.0210.00016.55
7.2.300.0040.01616.45
7.2.290.0030.01316.63
7.2.130.0060.01216.59
7.2.120.0070.01016.88
7.2.110.0030.00816.86
7.2.100.0040.01116.79
7.2.90.0040.00816.68
7.2.80.0000.01016.95
7.2.70.0060.00916.89
7.2.60.0070.00716.62
7.2.50.0000.01016.96
7.2.40.0060.01016.64
7.2.30.0120.00316.70
7.2.20.0090.00316.86
7.2.10.0030.00716.57
7.2.00.0050.01117.94
7.1.250.0090.00015.50
7.1.100.0060.00617.95
7.1.70.0060.00317.00
7.1.60.0070.01719.46
7.1.50.0070.01516.89
7.1.00.0030.07722.44
7.0.200.0200.00316.62
7.0.140.0100.06321.95
7.0.60.0170.06019.91
7.0.50.0070.07317.84
7.0.40.0070.08720.04
7.0.30.0330.07320.21
7.0.20.0170.05720.04
7.0.10.0130.08020.30
7.0.00.0070.06320.11
5.6.280.0000.07721.05
5.6.210.0100.08020.49
5.6.200.0070.06318.12
5.6.190.0030.05720.59
5.6.180.0270.06720.58
5.6.170.0230.04320.45
5.6.160.0030.06020.39
5.6.150.0070.07718.16
5.6.140.0000.04718.18
5.6.130.0030.05718.07
5.6.120.0100.07321.02
5.6.110.0030.05721.00
5.6.100.0070.07020.88
5.6.90.0100.07321.05
5.6.80.0030.04320.38
5.6.70.4070.04020.27
5.5.350.0170.07720.39
5.5.340.0070.08017.98
5.5.330.0100.05320.20
5.5.320.0270.04720.28
5.5.310.0170.09020.17
5.5.300.0000.05017.96
5.5.290.0000.04317.95
5.5.280.0130.06720.79
5.5.270.0170.07720.86
5.5.260.0100.05020.86
5.5.250.0100.06020.68
5.5.240.0130.05320.25
5.4.450.0100.04719.42
5.4.440.0100.05319.45
5.4.430.0230.04019.46
5.4.420.0200.04019.38
5.4.410.0200.02319.13
5.4.400.0170.04019.11
5.4.390.0230.04019.16
5.4.380.0330.06318.56
5.4.370.0330.05718.76
5.4.360.0400.06318.64
5.4.350.0300.06018.51
5.4.340.0370.05718.57
5.4.320.0080.03512.45
5.4.310.0080.04412.45
5.4.300.0050.03912.45
5.4.290.0030.04112.45
5.4.280.0050.03712.35
5.4.270.0060.04112.34
5.4.260.0030.04112.34
5.4.250.0040.04012.34
5.4.240.0090.03412.34
5.4.230.0050.04812.34
5.4.220.0050.03812.34
5.4.210.0060.03512.34
5.4.200.0040.04712.34
5.4.190.0090.04112.33
5.4.180.0090.04112.33
5.4.170.0080.03912.35
5.4.160.0050.03912.34
5.4.150.0060.03512.34
5.4.140.0030.04012.02
5.4.130.0070.03412.01
5.4.120.0020.03911.97
5.4.110.0050.03711.96
5.4.100.0060.04211.96
5.4.90.0050.04111.96
5.4.80.0030.03911.96
5.4.70.0040.03611.96
5.4.60.0060.03411.96
5.4.50.0080.03811.96
5.4.40.0070.03611.95
5.4.30.0050.03611.95
5.4.20.0060.03511.95
5.4.10.0050.03511.95
5.4.00.0090.03211.43
5.3.290.0040.04012.80
5.3.280.0050.03812.70
5.3.270.0070.03812.72
5.3.260.0080.03812.72
5.3.250.0150.03112.72
5.3.240.0080.03412.72
5.3.230.0070.03512.71
5.3.220.0090.03312.68
5.3.210.0100.03412.68
5.3.200.0090.03512.68
5.3.190.0120.03812.68
5.3.180.0060.03712.67
5.3.170.0060.03812.66
5.3.160.0060.03712.68
5.3.150.0080.03612.67
5.3.140.0100.03212.66
5.3.130.0060.03912.66
5.3.120.0080.03712.66
5.3.110.0060.03912.66
5.3.100.0070.03612.12
5.3.90.0050.03712.08
5.3.80.0110.03112.08
5.3.70.0090.03812.07
5.3.60.0080.03512.06
5.3.50.0040.03712.00
5.3.40.0030.04012.00
5.3.30.0050.03611.94
5.3.20.0070.03411.72
5.3.10.0050.03611.69
5.3.00.0110.03211.67
5.2.170.0030.0339.18
5.2.160.0080.0289.18
5.2.150.0050.0309.18
5.2.140.0040.0319.17
5.2.130.0040.0309.14
5.2.120.0090.0299.13
5.2.110.0090.0299.14
5.2.100.0080.0269.13
5.2.90.0020.0319.13
5.2.80.0040.0309.13
5.2.70.0040.0319.13
5.2.60.0070.0289.09
5.2.50.0050.0309.05
5.2.40.0070.0279.03
5.2.30.0080.0279.01
5.2.20.0040.0299.00
5.2.10.0080.0258.91
5.2.00.0090.0358.77
5.1.60.0070.0288.06
5.1.50.0070.0228.05
5.1.40.0060.0258.04
5.1.30.0050.0258.39
5.1.20.0030.0288.41
5.1.10.0050.0258.14
5.1.00.0040.0268.13
5.0.50.0040.0206.61
5.0.40.0050.0186.47
5.0.30.0030.0386.29
5.0.20.0040.0196.26
5.0.10.0050.0276.23
5.0.00.0030.0346.22
4.4.90.0030.0224.78
4.4.80.0030.0154.76
4.4.70.0050.0134.75
4.4.60.0030.0164.76
4.4.50.0030.0164.77
4.4.40.0020.0264.71
4.4.30.0040.0144.75
4.4.20.0060.0124.84
4.4.10.0030.0154.85
4.4.00.0030.0244.76
4.3.110.0060.0134.67
4.3.100.0010.0164.67
4.3.90.0000.0174.63
4.3.80.0010.0264.58
4.3.70.0010.0164.63
4.3.60.0040.0134.63
4.3.50.0030.0154.63
4.3.40.0020.0254.54
4.3.30.0020.0163.28
4.3.20.0010.0173.26
4.3.10.0030.0153.21
4.3.00.0030.02018.56

preferences:
46.21 ms | 401 KiB | 5 Q