3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((bool) !count(['test', 'test2']) && '0123123')

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.0040.04811.98
5.4.340.0080.03911.98
5.4.320.0080.04912.46
5.4.310.0070.05012.46
5.4.300.0030.05012.46
5.4.290.0120.04312.46
5.4.280.0080.05512.36
5.4.270.0050.06812.36
5.4.260.0150.07112.36
5.4.250.0120.05212.36
5.4.240.0150.03912.36
5.4.230.0090.05212.35
5.4.220.0100.03912.35
5.4.210.0110.04312.35
5.4.200.0120.04212.35
5.4.190.0100.05012.35
5.4.180.0080.03912.35
5.4.170.0080.04012.36
5.4.160.0070.03912.36
5.4.150.0070.03612.35
5.4.140.0070.03712.04
5.4.130.0100.03712.02
5.4.120.0100.03711.98
5.4.110.0090.03411.98
5.4.100.0070.03811.98
5.4.90.0070.03511.98
5.4.80.0040.03911.98
5.4.70.0060.03611.97
5.4.60.0120.03911.97
5.4.50.0090.03311.98
5.4.40.0070.03611.96
5.4.30.0090.03411.96
5.4.20.0090.03611.96
5.4.10.0090.05011.96
5.4.00.0060.05511.45
5.3.290.0110.05612.80
5.3.280.0130.04812.71
5.3.270.0050.04312.72
5.3.260.0080.04912.72
5.3.250.0040.04112.72
5.3.240.0110.03312.71
5.3.230.0070.03912.71
5.3.220.0030.04412.68
5.3.210.0090.04212.68
5.3.200.0090.06512.68
5.3.190.0080.04912.68
5.3.180.0070.04312.67
5.3.170.0130.04012.67
5.3.160.0120.04712.67
5.3.150.0120.04312.68
5.3.140.0060.04512.66
5.3.130.0090.05312.66
5.3.120.0110.04412.66
5.3.110.0080.05212.66
5.3.100.0100.04512.12
5.3.90.0110.04612.09
5.3.80.0100.05112.07
5.3.70.0090.04712.07
5.3.60.0110.04512.06
5.3.50.0090.04612.00
5.3.40.0130.04512.00
5.3.30.0100.04511.95
5.3.20.0070.03911.73
5.3.10.0070.03711.70
5.3.00.0040.04411.68
5.2.170.0080.0379.18
5.2.160.0070.0319.18
5.2.150.0040.0359.18
5.2.140.0040.0349.18
5.2.130.0070.0349.14
5.2.120.0120.0379.14
5.2.110.0140.0429.14
5.2.100.0090.0369.14
5.2.90.0100.0499.14
5.2.80.0140.0439.14
5.2.70.0090.0349.14
5.2.60.0080.0349.09
5.2.50.0080.0439.05
5.2.40.0060.0379.04
5.2.30.0090.0449.02
5.2.20.0060.0399.00
5.2.10.0030.0338.92
5.2.00.0030.0318.78
5.1.60.0030.0258.07
5.1.50.0020.0318.06
5.1.40.0060.0348.05
5.1.30.0030.0288.40
5.1.20.0040.0318.41
5.1.10.0030.0298.14
5.1.00.0030.0288.14
5.0.50.0070.0186.62
5.0.40.0050.0186.47
5.0.30.0030.0326.29
5.0.20.0060.0176.26
5.0.10.0060.0226.24
5.0.00.0070.0386.23
4.4.90.0050.0154.78
4.4.80.0040.0144.76
4.4.70.0020.0174.76
4.4.60.0020.0174.75
4.4.50.0030.0154.77
4.4.40.0030.0264.71
4.4.30.0030.0154.76
4.4.20.0030.0164.84
4.4.10.0040.0184.84
4.4.00.0050.0264.76
4.3.110.0040.0174.67
4.3.100.0030.0174.67
4.3.90.0040.0174.63
4.3.80.0040.0304.58
4.3.70.0060.0144.63
4.3.60.0060.0134.63
4.3.50.0030.0164.63
4.3.40.0030.0284.54
4.3.30.0000.0213.28
4.3.20.0010.0223.27
4.3.10.0030.0203.22
4.3.00.0200.0177.05

preferences:
142.76 ms | 1394 KiB | 7 Q