3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { function 𝕒s{ echo 'trigger'; } } $x = new foo; $x->𝕒s();

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.320.0140.03712.52
5.4.310.0060.04212.51
5.4.300.0070.04612.52
5.4.290.0040.04012.51
5.4.280.0060.03912.41
5.4.270.0100.03312.41
5.4.260.0100.03512.41
5.4.250.0060.03912.41
5.4.240.0060.04412.41
5.4.230.0110.04012.40
5.4.220.0120.03912.40
5.4.210.0070.03912.40
5.4.200.0040.04412.40
5.4.190.0070.03812.39
5.4.180.0080.03912.39
5.4.170.0080.04012.41
5.4.160.0070.04612.40
5.4.150.0060.04112.40
5.4.140.0060.03812.09
5.4.130.0060.04012.07
5.4.120.0100.03512.03
5.4.110.0110.04012.03
5.4.100.0110.03212.03
5.4.90.0080.04912.03
5.4.80.0110.04012.03
5.4.70.0040.03612.03
5.4.60.0050.03512.02
5.4.50.0090.03212.03
5.4.40.0060.03412.01
5.4.30.0080.03912.01
5.4.20.0090.03812.01
5.4.10.0090.03612.01
5.4.00.0040.03611.50
5.3.290.0070.04712.80
5.3.280.0090.04212.71
5.3.270.0050.04312.73
5.3.260.0090.04112.72
5.3.250.0070.04712.71
5.3.240.0090.03912.72
5.3.230.0100.04312.71
5.3.220.0050.04812.68
5.3.210.0090.03512.68
5.3.200.0080.03412.68
5.3.190.0070.03612.68
5.3.180.0080.03412.67
5.3.170.0120.03512.67
5.3.160.0090.04312.68
5.3.150.0060.03612.67
5.3.140.0060.04312.66
5.3.130.0090.04012.66
5.3.120.0090.04312.66
5.3.110.0120.04112.66
5.3.100.0070.04012.14
5.3.90.0080.03812.10
5.3.80.0100.04012.09
5.3.70.0090.03812.09
5.3.60.0080.04412.08
5.3.50.0080.03312.02
5.3.40.0090.03912.02
5.3.30.0130.03711.98
5.3.20.0070.04311.76
5.3.10.0050.03511.73
5.3.00.0080.04111.72
5.2.170.0070.0319.22
5.2.160.0050.0319.21
5.2.150.0050.0359.22
5.2.140.0060.0379.21
5.2.130.0090.0339.17
5.2.120.0090.0349.17
5.2.110.0070.0299.18
5.2.100.0050.0359.18
5.2.90.0090.0269.18
5.2.80.0060.0319.18
5.2.70.0050.0349.18
5.2.60.0030.0319.13
5.2.50.0110.0369.09
5.2.40.0080.0299.07
5.2.30.0060.0369.05
5.2.20.0050.0389.04
5.2.10.0060.0288.94
5.2.00.0050.0318.80
5.1.60.0050.0298.10
5.1.50.0050.0378.09
5.1.40.0030.0338.07
5.1.30.0090.0218.41
5.1.20.0050.0348.44
5.1.10.0040.0268.17
5.1.00.0050.0308.16
5.0.50.0030.0246.64
5.0.40.0010.0236.50
5.0.30.0030.0346.31
5.0.20.0040.0216.28
5.0.10.0040.0316.25
5.0.00.0060.0516.25
4.4.90.0020.0154.78
4.4.80.0050.0124.76
4.4.70.0040.0234.75
4.4.60.0030.0194.75
4.4.50.0010.0174.77
4.4.40.0030.0284.70
4.4.30.0040.0194.76
4.4.20.0050.0174.85
4.4.10.0050.0144.85
4.4.00.0060.0264.76
4.3.110.0030.0204.66
4.3.100.0060.0114.67
4.3.90.0040.0154.64
4.3.80.0040.0304.59
4.3.70.0050.0184.63
4.3.60.0030.0184.63
4.3.50.0020.0184.62
4.3.40.0030.0404.54
4.3.30.0030.0173.30
4.3.20.0040.0163.29
4.3.10.0010.0203.23
4.3.00.0030.01713.57

preferences:
135.85 ms | 1398 KiB | 7 Q