3v4l.org

run code in 300+ PHP versions simultaneously
<?php $queryReplace = "<span class=\"found\">".$query."</span>"; $descriptionContent = "Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for."; $boldQuery = str_replace($query, $queryReplace, $descriptionContent); $queryInDescription = stristr($boldQuery, $query); echo $queryInDescription

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.150.0110.04312.32
5.4.140.0140.03912.01
5.4.130.0160.05611.99
5.4.120.0130.03811.96
5.4.110.0120.04011.95
5.4.100.0110.04411.95
5.4.90.0100.04311.95
5.4.80.0130.03911.95
5.4.70.0120.03811.95
5.4.60.0130.03911.95
5.4.50.0080.04311.95
5.4.40.0120.04011.94
5.4.30.0090.04211.93
5.4.20.0080.04311.93
5.4.10.0150.04711.93
5.4.00.0180.05711.43
5.3.250.0130.03912.72
5.3.240.0140.04012.72
5.3.230.0140.04512.71
5.3.220.0170.04212.68
5.3.210.0240.06312.68
5.3.200.0120.04412.68
5.3.190.0230.05512.68
5.3.180.0110.04512.67
5.3.170.0130.04312.67
5.3.160.0140.04612.67
5.3.150.0120.04312.67
5.3.140.0210.05312.66
5.3.130.0150.04312.66
5.3.120.0180.05712.66
5.3.110.0140.04112.66
5.3.100.0110.04412.12
5.3.90.0130.04012.08
5.3.80.0140.04112.07
5.3.70.0110.04312.08
5.3.60.0170.05712.06
5.3.50.0170.04612.00
5.3.40.0130.04112.00
5.3.30.0130.03911.95
5.3.20.0200.05211.71
5.3.10.0180.04611.67
5.3.00.0140.04011.66

preferences:
145.91 ms | 1394 KiB | 7 Q