3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 10; $i++) { var_dump(log10(sqrt($i % 10)) * 50); }19.45378125959109

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.290.0110.06712.45
5.4.280.0080.08412.34
5.4.270.0120.05512.35
5.4.260.0160.04512.35
5.4.250.0060.05012.34
5.4.240.0040.04112.35
5.4.230.0110.04112.34
5.4.220.0130.05412.34
5.4.210.0130.04612.34
5.4.200.0060.06212.34
5.4.190.0080.05212.34
5.4.180.0120.07912.34
5.4.170.0150.07612.35
5.4.160.0100.05012.34
5.4.150.0080.03812.34
5.4.140.0090.05712.02
5.4.130.0110.08112.01
5.4.120.0090.06311.97
5.4.110.0080.05211.96
5.4.100.0120.08311.97
5.4.90.0160.07311.96
5.4.80.0080.05711.96
5.4.70.0210.08411.96
5.4.60.0060.07111.96
5.4.50.0120.05511.96
5.4.40.0090.05211.95
5.4.30.0140.06411.95
5.4.20.0090.05411.94
5.4.10.0100.04811.95
5.4.00.0190.07311.44
5.3.280.0110.07512.71
5.3.270.0260.08412.72
5.3.260.0180.08212.72
5.3.250.0140.06112.72
5.3.240.0240.08712.71
5.3.230.0130.07612.71
5.3.220.0060.05212.68
5.3.210.0080.04512.68
5.3.200.0070.04112.68
5.3.190.0040.04412.68
5.3.180.0030.04112.68
5.3.170.0060.03912.67
5.3.160.0070.03812.67
5.3.150.0090.03912.68
5.3.140.0110.04012.66
5.3.130.0080.04212.66
5.3.120.0130.07512.66
5.3.110.0080.06012.66
5.3.100.0140.07412.12
5.3.90.0090.05812.08
5.3.80.0050.04512.08
5.3.70.0060.04412.07
5.3.60.0120.04212.06
5.3.50.0100.05012.00
5.3.40.0080.03812.00
5.3.30.0100.04011.95
5.3.20.0070.03811.73
5.3.10.0050.03611.70
5.3.00.0080.03511.69
5.2.170.0060.0329.18
5.2.160.0090.0309.19
5.2.150.0080.0449.19
5.2.140.0060.0409.18
5.2.130.0070.0359.14
5.2.120.0100.0409.14
5.2.110.0050.0379.15
5.2.100.0050.0319.14
5.2.90.0060.0379.14
5.2.80.0110.0479.13
5.2.70.0090.0649.14
5.2.60.0050.0459.09
5.2.50.0070.0449.06
5.2.40.0060.0399.04
5.2.30.0060.0399.01
5.2.20.0070.0279.00
5.2.10.0060.0308.92
5.2.00.0090.0328.78
5.1.60.0100.0408.08
5.1.50.0080.0268.07
5.1.40.0050.0238.05
5.1.30.0040.0298.40
5.1.20.0060.0298.42
5.1.10.0060.0268.15
5.1.00.0090.0298.14
5.0.50.0020.0276.62
5.0.40.0050.0336.49
5.0.30.0070.0436.29
5.0.20.0050.0276.29
5.0.10.0050.0486.27
5.0.00.0040.0326.26
4.4.90.0050.0204.78
4.4.80.0040.0214.76
4.4.70.0030.0174.75
4.4.60.0040.0154.75
4.4.50.0060.0204.77
4.4.40.0020.0294.71
4.4.30.0040.0174.76
4.4.20.0030.0184.84
4.4.10.0050.0144.85
4.4.00.0030.0264.76
4.3.110.0020.0174.67
4.3.100.0010.0164.66
4.3.90.0030.0154.63
4.3.80.0040.0244.58
4.3.70.0030.0164.63
4.3.60.0040.0154.63
4.3.50.0030.0174.63
4.3.40.0030.0274.54
4.3.30.0030.0213.31
4.3.20.0020.0233.29
4.3.10.0040.0243.25
4.3.00.0100.03310.54

preferences:
142.57 ms | 1394 KiB | 7 Q