3v4l.org

run code in 300+ PHP versions simultaneously
<?php if strpos('rafael', 'ra') echo "ok"; else echo "nok";

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.40.0070.07316.38
5.4.30.0070.07316.25
5.4.20.0170.05316.43
5.4.10.0130.06716.40
5.4.00.0100.04715.79
5.3.140.0170.06714.52
5.3.130.0030.07714.52
5.3.120.0130.07014.57
5.3.110.0130.06314.49
5.3.100.0100.06313.94
5.3.90.0170.06713.90
5.3.80.0170.04314.00
5.3.70.0070.06713.80
5.3.60.0000.04014.09
5.3.50.0070.07714.03
5.3.40.0070.07013.89
5.3.30.0030.06313.86
5.3.20.0070.06713.51
5.3.10.0030.07713.44
5.3.00.0100.07013.65

preferences:
141.24 ms | 1394 KiB | 7 Q