3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_encode(['key' => 'value & value']);

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)
7.0.20.0330.06020.21
7.0.10.0070.09020.22
7.0.00.0070.07320.05
5.6.170.0130.04320.58
5.6.160.0170.07020.46
5.6.150.0000.06718.15
5.6.140.0100.04318.28
5.6.130.0100.07718.21
5.6.120.0070.03720.89
5.6.110.0000.04720.97
5.6.100.0030.07020.99
5.6.90.0070.08721.01
5.6.80.0000.06320.38
5.5.310.0330.07720.26
5.5.300.0070.03717.95
5.5.290.0130.06017.98
5.5.280.0030.04020.76
5.5.270.0070.08320.78
5.5.260.0130.06720.74
5.5.250.0130.07320.68
5.5.240.0000.08320.12

preferences:
136.61 ms | 1398 KiB | 7 Q