3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (new \NumberFormatter('@numbers=roman', \NumberFormatter::DECIMAL))->format(1);

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)
8.5.30.0200.00717.63
8.5.20.0200.01118.33
8.5.10.0210.00716.55
8.5.00.0200.00918.52
8.4.180.0240.01021.00
8.4.170.0210.01121.09
8.4.160.0210.01221.97
8.4.150.0130.00516.97
8.4.140.0160.01017.91
8.4.130.0140.01018.17
8.4.120.0140.01020.24
8.4.110.0140.01118.66
8.4.100.0180.00717.97
8.4.90.0170.00718.02
8.4.80.0170.00818.00
8.4.70.0290.01018.03
8.4.60.0330.00917.97
8.4.50.0310.00818.03
8.4.40.0360.00917.78
8.4.30.0330.00917.73
8.4.20.0300.01017.71
8.4.10.0350.01017.93
8.3.300.0310.01324.30
8.3.290.0180.01324.39
8.3.280.0260.01023.31
8.3.270.0310.01219.48
8.3.260.0240.00920.23
8.3.250.0200.00920.76
8.3.240.0220.01219.47
8.3.230.0180.01219.60
8.3.220.0260.01120.34
8.3.210.0430.01219.45
8.3.200.0290.01019.31
8.3.190.0380.01219.33
8.3.180.0310.01019.30
8.3.170.0400.01119.31
8.3.160.0370.01119.96
8.3.150.0380.01019.63
8.3.140.0350.01419.32
8.3.130.0350.01219.33
8.3.120.0320.00619.44
8.3.110.0310.01419.45
8.3.100.0380.01019.38
8.3.90.0360.01019.13
8.3.80.0330.01219.32
8.3.70.0360.01019.30
8.3.60.0310.01219.27
8.3.50.0320.00919.99
8.3.40.0450.01020.61
8.3.30.0300.00920.67
8.3.20.0300.00820.04
8.3.10.0230.01120.12
8.3.00.0240.01220.51
8.2.300.0320.01123.27
8.2.290.0130.00620.72
8.2.280.0250.00919.66
8.2.270.0250.01219.45
8.2.260.0240.01119.27
8.2.250.0270.00919.42
8.2.240.0260.00819.37
8.2.230.0330.00919.30
8.2.220.0240.00819.24
8.2.210.0220.01119.28
8.2.200.0230.01019.46
8.2.190.0260.00819.20
8.2.180.0280.00919.26
8.2.170.0310.00920.06
8.2.160.0310.01120.00
8.2.150.0260.00919.99
8.2.140.0230.01119.92
8.2.130.0250.01219.94
8.2.120.0270.00919.86
8.2.110.0240.00920.08
8.2.100.0250.00819.91
8.2.90.0250.01019.76
8.2.80.0240.01020.00
8.2.70.0270.00819.95
8.2.60.0250.00819.98
8.2.50.0240.01019.88
8.2.40.0230.01119.87
8.2.30.0220.00919.89
8.2.20.0180.00920.58
8.2.10.0210.00719.91
8.2.00.0210.00519.94

preferences:
54.23 ms | 835 KiB | 5 Q