3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace A; // no compilation //use function m as exit; // function exit() {} class x { // compilation OK function exit() {} } //surcharge de fonctions natives function strtolower() { echo 5; } echo strtolower('ABV'); // 5

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.0100.00718.14
8.5.20.0050.00420.20
8.5.10.0120.00616.73
8.5.00.0120.01422.71
8.4.180.0100.01419.56
8.4.170.0120.00923.86
8.4.160.0130.00922.05
8.4.150.0090.00416.79
8.4.140.0080.01317.40
8.4.130.0100.01120.71
8.4.120.0130.00720.69
8.4.110.0440.00517.38
8.4.100.0350.00817.61
8.4.90.0180.00417.70
8.4.80.0200.00317.67
8.4.70.0410.00317.58
8.4.60.0370.01117.80
8.4.50.0360.00717.45
8.4.40.0400.00717.28
8.4.30.0400.00917.40
8.4.20.0450.00717.37
8.4.10.0410.00617.47
8.3.300.0140.00720.79
8.3.290.0090.01120.95
8.3.280.0130.00818.16
8.3.270.0140.00516.66
8.3.260.0170.00316.34
8.3.250.0090.00918.63
8.3.240.0340.00716.31
8.3.230.0300.00916.54
8.3.220.0180.00316.40
8.3.210.0340.00616.27
8.3.200.0180.00216.58
8.3.190.0350.00516.30
8.3.180.0390.00816.48
8.3.170.0330.00916.84
8.3.160.0410.00916.16
8.3.150.0320.00616.43
8.3.140.0230.00316.12
8.3.130.0140.00516.63
8.3.120.0180.00216.59
8.3.110.0210.00716.59
8.3.100.0240.00716.41
8.3.90.0270.00516.35
8.3.80.0210.00516.62
8.3.70.0230.00316.16
8.3.60.0200.00216.51
8.3.50.0180.00316.43
8.3.40.0170.00517.63
8.3.30.0280.00817.36
8.3.20.0290.01017.36
8.3.10.0320.00817.39
8.3.00.0330.00417.34
8.2.300.0120.00920.36
8.2.290.0320.00716.49
8.2.280.0350.00516.18
8.2.270.0380.00216.50
8.2.260.0310.00916.55
8.2.250.0340.00716.43
8.2.240.0300.01116.15
8.2.230.0280.00716.16
8.2.220.0300.00716.41
8.2.210.0180.00816.08
8.2.200.0300.00616.29
8.2.190.0320.00916.30
8.2.180.0150.00516.14
8.2.170.0150.00417.82
8.2.160.0360.01017.62
8.2.150.0270.01217.42
8.2.140.0420.00617.23
8.2.130.0340.00917.25
8.2.120.0400.00717.28
8.2.110.0390.01117.25
8.2.100.0300.00717.55
8.2.90.0180.00517.56
8.2.80.0220.00917.27
8.2.70.0160.00817.04
8.2.60.0130.00617.50
8.2.50.0160.00217.29
8.2.40.0170.00317.46
8.2.30.0370.00217.25
8.2.20.0280.01217.36
8.2.10.0310.00917.36
8.2.00.0330.00717.19
8.1.340.0100.00921.71

preferences:
51.01 ms | 837 KiB | 5 Q