3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "hello"; $string[10] = $string[10; echo $string;

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.140.0070.03612.04
5.4.130.0040.03712.02
5.4.120.0070.03611.98
5.4.110.0030.03811.98
5.4.100.0040.03711.98
5.4.90.0060.03611.98
5.4.80.0050.03711.98
5.4.70.0060.03411.97
5.4.60.0050.03511.98
5.4.50.0060.03511.98
5.4.40.0020.03911.96
5.4.30.0040.03811.96
5.4.20.0040.03811.95
5.4.10.0070.03411.96
5.4.00.0050.03711.45
5.3.240.0030.04012.72
5.3.230.0110.03212.71
5.3.220.0070.03612.68
5.3.210.0050.04012.68
5.3.200.0060.03712.68
5.3.190.0080.03812.68
5.3.180.0070.03612.67
5.3.170.0030.03912.67
5.3.160.0060.03712.67
5.3.150.0030.04012.67
5.3.140.0070.03612.66
5.3.130.0050.04112.66
5.3.120.0050.04112.66
5.3.110.0050.04012.66
5.3.100.0050.03812.12
5.3.90.0050.03812.09
5.3.80.0040.03912.07
5.3.70.0090.03312.07
5.3.60.0080.03412.06
5.3.50.0060.03512.00
5.3.40.0070.03612.00
5.3.30.0080.03211.94
5.3.20.0020.03811.69
5.3.10.0060.03411.65
5.3.00.0060.03511.64
5.2.170.0110.0289.14
5.2.160.0050.0299.14
5.2.150.0040.0319.14
5.2.140.0050.0309.14
5.2.130.0020.0349.10
5.2.120.0060.0309.10
5.2.110.0070.0359.11
5.2.100.0030.0309.11
5.2.90.0050.0289.10
5.2.80.0030.0319.09
5.2.70.0030.0319.09
5.2.60.0030.0319.05
5.2.50.0030.0319.02
5.2.40.0050.0299.00
5.2.30.0050.0298.97
5.2.20.0050.0308.96
5.2.10.0050.0288.89
5.2.00.0020.0318.74
5.1.60.0020.0268.03
5.1.50.0060.0228.04
5.1.40.0050.0248.02
5.1.30.0060.0268.36
5.1.20.0060.0268.39
5.1.10.0040.0278.11
5.1.00.0050.0258.11
5.0.50.0070.0246.59
5.0.40.0070.0216.44
5.0.30.0030.0426.26
5.0.20.0050.0236.23
5.0.10.0040.0246.21
5.0.00.0070.0376.20
4.4.90.0010.0224.77
4.4.80.0020.0194.75
4.4.70.0010.0184.75
4.4.60.0060.0124.76
4.4.50.0010.0174.77
4.4.40.0040.0244.71
4.4.30.0030.0154.76
4.4.20.0010.0174.84
4.4.10.0010.0234.85
4.4.00.0030.0274.76
4.3.110.0000.0194.67
4.3.100.0020.0164.66
4.3.90.0030.0144.64
4.3.80.0030.0254.58
4.3.70.0040.0134.63
4.3.60.0020.0164.63
4.3.50.0030.0174.63
4.3.40.0030.0254.54
4.3.30.0010.0183.28
4.3.20.0040.0153.26
4.3.10.0040.0143.22
4.3.00.0070.01315.61

preferences:
134.26 ms | 1394 KiB | 7 Q