3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "One2xs is tof!"; $string = (array)$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.160.0090.04212.36
5.4.150.0130.06212.35
5.4.140.0090.04212.04
5.4.130.0110.04112.02
5.4.120.0170.05411.99
5.4.110.0120.03911.98
5.4.100.0170.05511.98
5.4.90.0160.05711.98
5.4.80.0120.04011.98
5.4.70.0100.04011.98
5.4.60.0110.04011.98
5.4.50.0090.04111.98
5.4.40.0120.03911.96
5.4.30.0150.04711.96
5.4.20.0100.04011.96
5.4.10.0110.03911.96
5.4.00.0110.04111.45
5.3.260.0120.04312.72
5.3.250.0130.03812.72
5.3.240.0170.05612.72
5.3.230.0110.04512.71
5.3.220.0180.04612.68
5.3.210.0120.04312.68
5.3.200.0130.04012.68
5.3.190.0160.05912.68
5.3.180.0100.04212.67
5.3.170.0110.04112.67
5.3.160.0150.03912.67
5.3.150.0140.04012.67
5.3.140.0110.04312.66
5.3.130.0130.04212.66
5.3.120.0100.04412.66
5.3.110.0110.04412.66
5.3.100.0140.06112.11
5.3.90.0120.04112.08
5.3.80.0110.04312.07
5.3.70.0190.04612.07
5.3.60.0210.05412.06
5.3.50.0100.04212.00
5.3.40.0150.03912.00
5.3.30.0120.04011.94
5.3.20.0090.04411.71
5.3.10.0120.04011.67
5.3.00.0090.04211.65
5.2.170.0100.0349.16
5.2.160.0120.0419.16
5.2.150.0120.0319.16
5.2.140.0120.0309.16
5.2.130.0110.0319.12
5.2.120.0120.0299.12
5.2.110.0110.0429.13
5.2.100.0100.0319.12
5.2.90.0090.0329.12
5.2.80.0100.0319.11
5.2.70.0120.0329.11
5.2.60.0110.0419.07
5.2.50.0090.0329.04
5.2.40.0090.0339.01
5.2.30.0070.0358.99
5.2.20.0090.0348.97
5.2.10.0160.0478.90
5.2.00.0090.0338.76
5.1.60.0100.0268.05
5.1.50.0070.0298.05
5.1.40.0090.0268.04
5.1.30.0170.0408.38
5.1.20.0100.0308.41
5.1.10.0120.0368.13
5.1.00.0110.0328.12
5.0.50.0080.0226.60
5.0.40.0130.0366.46
5.0.30.0080.0346.28
5.0.20.0080.0226.25
5.0.10.0070.0226.23
5.0.00.0050.0376.21
4.4.90.0060.0164.78
4.4.80.0050.0204.75
4.4.70.0050.0204.75
4.4.60.0060.0164.75
4.4.50.0040.0184.77
4.4.40.0060.0274.71
4.4.30.0060.0194.76
4.4.20.0060.0184.84
4.4.10.0040.0204.85
4.4.00.0090.0444.76
4.3.110.0050.0184.67
4.3.100.0070.0164.67
4.3.90.0040.0184.63
4.3.80.0050.0274.58
4.3.70.0060.0174.63
4.3.60.0040.0184.63
4.3.50.0050.0174.63
4.3.40.0120.0414.54
4.3.30.0050.0173.30
4.3.20.0010.0203.28
4.3.10.0040.0183.24
4.3.00.0100.0276.89

preferences:
135.54 ms | 1399 KiB | 7 Q