3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = 'Intel'; $value = preg_replace('<span style="font-size: 8pt">Intel and the Intel logo are trademarks of Intel Corporation in the United States and other countries.<\\/span>/i', '', $value); $value = preg_replace('<span style="font-size: 8pt">*Other names and brands may be claimed as the property of others.<\\/span>/i', '', $value); $value = preg_replace('<p><\\/p> <p><span style="font-size: 8pt">* Other names and brands may be claimed as the property of others.<\\/span><\\/p>/i', '', $value); echo $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.07320.12
7.0.10.0100.04020.07
7.0.00.0200.07020.30
5.6.170.0370.07720.52
5.6.160.0200.07020.50
5.6.150.0070.03718.18
5.6.140.0030.04318.27
5.6.130.0070.04018.28
5.6.120.0070.07721.02
5.6.110.0070.06321.02
5.6.100.0030.06721.07
5.6.90.0130.08721.10
5.6.80.0130.03020.50
5.5.310.0300.03720.34
5.5.300.0130.07717.98
5.5.290.0170.07017.97
5.5.280.0100.08020.97
5.5.270.0100.03320.77
5.5.260.0030.08720.97
5.5.250.0170.07720.70
5.5.240.0230.02720.06

preferences:
140.75 ms | 1394 KiB | 7 Q