3v4l.org

run code in 300+ PHP versions simultaneously
<?php $class = 'Foo\\Bar\\Baz'; $path = implode('/', explode('\\', $class)); var_dump($path):

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.240.0100.03812.37
5.4.230.0100.04212.36
5.4.220.0100.03912.37
5.4.210.0150.05212.36
5.4.200.0080.04512.37
5.4.190.0100.04012.36
5.4.180.0090.04112.36
5.4.170.0100.04112.37
5.4.160.0100.03812.36
5.4.150.0110.03912.36
5.4.140.0080.04112.05
5.4.130.0080.04512.03
5.4.120.0090.04012.00
5.4.110.0110.03811.99
5.4.100.0080.04011.99
5.4.90.0100.04211.99
5.4.80.0090.03911.99
5.4.70.0110.04011.99
5.4.60.0090.04111.99
5.4.50.0110.04011.99
5.4.40.0100.04311.98
5.4.30.0090.04011.97
5.4.20.0090.03911.97
5.4.10.0100.03711.98
5.4.00.0100.03911.46
5.3.280.0110.04312.71
5.3.270.0090.04812.72
5.3.260.0120.04812.72
5.3.250.0110.04512.72
5.3.240.0100.04212.72
5.3.230.0090.04512.71
5.3.220.0110.04812.68
5.3.210.0140.04512.68
5.3.200.0110.04512.68
5.3.190.0160.05812.67
5.3.180.0130.04412.67
5.3.170.0080.04612.67
5.3.160.0080.04212.67
5.3.150.0100.04012.67
5.3.140.0100.04512.66
5.3.130.0090.04312.66
5.3.120.0090.04412.66
5.3.110.0100.04212.65
5.3.100.0120.04112.12
5.3.90.0080.04112.08
5.3.80.0080.04012.08
5.3.70.0100.03912.07
5.3.60.0080.04112.06
5.3.50.0090.04012.00
5.3.40.0110.03912.00
5.3.30.0090.03711.94
5.3.20.0100.04011.71
5.3.10.0120.03911.67
5.3.00.0090.04411.66
5.2.170.0060.0409.16
5.2.160.0080.0339.16
5.2.150.0070.0339.16
5.2.140.0080.0379.16
5.2.130.0100.0339.11
5.2.120.0080.0319.12
5.2.110.0090.0299.12
5.2.100.0080.0309.12
5.2.90.0080.0349.12
5.2.80.0070.0369.11
5.2.70.0060.0359.11
5.2.60.0090.0359.07
5.2.50.0090.0319.04
5.2.40.0080.0349.01
5.2.30.0080.0328.99
5.2.20.0080.0318.98
5.2.10.0070.0308.90
5.2.00.0090.0308.76
5.1.60.0070.0258.04
5.1.50.0070.0258.04
5.1.40.0060.0268.03
5.1.30.0070.0278.37
5.1.20.0070.0288.40
5.1.10.0070.0288.12
5.1.00.0030.0318.12
5.0.50.0050.0236.60
5.0.40.0060.0216.46
5.0.30.0050.0336.27
5.0.20.0070.0196.25
5.0.10.0050.0216.22
5.0.00.0060.0326.21
4.4.90.0050.0184.78
4.4.80.0050.0184.75
4.4.70.0050.0184.76
4.4.60.0050.0184.75
4.4.50.0040.0164.77
4.4.40.0040.0274.71
4.4.30.0040.0184.75
4.4.20.0060.0164.84
4.4.10.0060.0164.85
4.4.00.0060.0254.76
4.3.110.0030.0194.67
4.3.100.0050.0164.67
4.3.90.0050.0154.63
4.3.80.0050.0254.58
4.3.70.0030.0164.63
4.3.60.0050.0144.63
4.3.50.0050.0154.62
4.3.40.0030.0264.54
4.3.30.0020.0183.28
4.3.20.0030.0173.25
4.3.10.0030.0163.22
4.3.00.0200.03714.27

preferences:
144.25 ms | 1394 KiB | 7 Q