3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo str_ireplace("a","the" "This is a beautiful day with nature in its pleasant weather and I had a great time",); echo "/n"; echo "str_ireplace"; ?>

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.10.0130.04020.27
7.0.00.0100.07320.12
5.6.160.0130.03020.55
5.6.150.0030.04318.16
5.6.140.0030.08718.21
5.6.130.0100.05018.21
5.6.120.0030.05021.05
5.6.110.0070.04021.07
5.6.100.0030.05721.04
5.6.90.0000.05320.95
5.6.80.0070.07720.43
5.5.300.0130.08017.92
5.5.290.0000.04717.96
5.5.280.0030.04320.79
5.5.270.0070.03720.76
5.5.260.0030.08020.67
5.5.250.0000.04320.68
5.5.240.0100.08320.28

preferences:
144.96 ms | 1394 KiB | 7 Q