3v4l.org

run code in 500+ PHP versions simultaneously
<?php class stdClass {} // Checked at execution time interface Iterator {} // Checked at execution time function mb_substr() {} // Checked at compile time

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.4.60.0330.01220.23
8.4.50.0430.00817.71
8.4.40.0400.00917.30
8.4.30.0440.00717.52
8.4.20.0400.00917.31
8.4.10.0420.00717.71
8.3.200.0390.00816.35
8.3.190.0370.00516.36
8.3.180.0360.00916.73
8.3.170.0370.01116.53
8.3.160.0390.01116.31
8.3.150.0410.00616.39
8.3.140.0370.01016.52
8.3.130.0350.00916.40
8.3.120.0280.00716.68
8.3.110.0300.01216.44
8.3.100.0440.00616.36
8.3.90.0390.01016.46
8.3.80.0380.00916.69
8.3.70.0410.00816.27
8.3.60.0330.01316.33
8.3.50.0420.00516.38
8.3.40.0400.00617.29
8.3.30.0290.00917.26
8.3.20.0320.00917.29
8.3.10.0290.00517.32
8.3.00.0270.00617.23
8.2.280.0270.01016.38
8.2.270.0360.01016.67
8.2.260.0370.00616.68
8.2.250.0340.00816.31
8.2.240.0310.01016.31
8.2.230.0170.00616.39
8.2.220.0320.01016.72
8.2.210.0330.00716.43
8.2.200.0330.00816.05
8.2.190.0400.00716.28
8.2.180.0310.01016.43
8.2.170.0350.00817.68
8.2.160.0270.00617.47
8.2.150.0330.01017.60
8.2.140.0350.00717.22
8.2.130.0280.01317.29
8.2.120.0330.00717.50
8.2.110.0320.01017.39
8.2.100.0320.00817.60
8.2.90.0320.00917.52
8.2.80.0290.01117.27
8.2.70.0350.00517.32
8.2.60.0340.00717.13
8.2.50.0350.00917.08
8.2.40.0290.01317.27
8.2.30.0410.00717.50
8.2.20.0320.01017.39
8.2.10.0320.00717.11
8.2.00.0340.00717.27

preferences:
68.16 ms | 716 KiB | 4 Q