3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Pippo { const R = $_SERVER['DOCUMENT_ROOT'] . 'ciao'; } echo Pippo::R;

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.150.0240.07912.36
5.4.140.0160.04412.05
5.4.130.0180.04312.03
5.4.120.0290.05112.00
5.4.110.0260.06312.00
5.4.100.0170.04612.00
5.4.90.0210.06211.99
5.4.80.0200.04112.00
5.4.70.0170.04511.99
5.4.60.0180.05111.99
5.4.50.0160.04211.99
5.4.40.0230.07411.98
5.4.30.0240.06511.97
5.4.20.0180.04211.97
5.4.10.0260.07211.97
5.4.00.0170.04211.46
5.3.250.0080.03612.71
5.3.240.0230.06912.72
5.3.230.0250.05712.71
5.3.220.0240.05912.68
5.3.210.0300.05312.68
5.3.200.0200.04412.68
5.3.190.0210.06312.68
5.3.180.0170.05212.67
5.3.170.0250.05812.67
5.3.160.0170.04712.67
5.3.150.0190.05212.67
5.3.140.0160.04612.66
5.3.130.0170.04612.66
5.3.120.0170.04812.66
5.3.110.0240.05012.66
5.3.100.0320.07112.12
5.3.90.0260.06512.09
5.3.80.0180.04612.07
5.3.70.0200.06112.08
5.3.60.0150.04512.06
5.3.50.0160.04512.01
5.3.40.0210.06112.00
5.3.30.0170.04311.97
5.3.20.0260.05411.75
5.3.10.0170.04311.71
5.3.00.0200.04911.69

preferences:
144.3 ms | 1399 KiB | 7 Q