3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array(1 -> "sven fink", 2 -> "carina fink"); echo $test[0]; ?>

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.50.0130.05611.99
5.4.40.0100.05011.98
5.4.30.0120.04911.97
5.4.20.0110.05111.97
5.4.10.0140.05511.98
5.4.00.0160.06511.47
5.3.150.0130.05112.67
5.3.140.0090.04612.66
5.3.130.0150.06412.66
5.3.120.0130.04312.66
5.3.110.0090.04812.66
5.3.100.0120.05812.11
5.3.90.0170.05312.08
5.3.80.0100.05212.07
5.3.70.0120.05012.07
5.3.60.0090.05312.06
5.3.50.0090.04412.00
5.3.40.0120.04912.00
5.3.30.0100.05111.94
5.3.20.0120.05111.72
5.3.10.0100.03811.68
5.3.00.0110.05111.67

preferences:
136.3 ms | 1394 KiB | 7 Q