3v4l.org

run code in 300+ PHP versions simultaneously
<?php strstr(array('0'=>'1520','1'=>'4552'), '4552')

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.0160.03711.94
5.4.30.0210.05711.94
5.4.20.0140.04411.94
5.4.10.0110.04211.94
5.4.00.0210.05511.43
5.3.140.0260.05212.66
5.3.130.0140.04512.66
5.3.120.0200.04812.66
5.3.110.0150.04312.66
5.3.100.0170.04212.12
5.3.90.0150.04112.08
5.3.80.0160.05312.07
5.3.70.0170.05012.08
5.3.60.0140.04312.06
5.3.50.0210.06712.00
5.3.40.0150.04312.00
5.3.30.0140.04111.95
5.3.20.0210.05611.73
5.3.10.0220.05211.69
5.3.00.0120.04111.67

preferences:
141.26 ms | 1399 KiB | 7 Q