3v4l.org

run code in 300+ PHP versions simultaneously
<?php $post = array( 'post_content' => '<strong><a href="http://en.wikipedia.org/wiki/Rihanna" target="_blank">Rihanna</a></strong> and <strong><a href="http://en.wikipedia.org/wiki/Eminem" target="_blank">Eminem</a></strong> are back together, but this time no one's getting beaten and no <a href="http://www.youtube.com/watch?v=uelHwf8o7_U" target="_blank">homes are getting torched</a>, it's just a good, old-fashioned therapy session in an abandoned warehouse, as one does.<!--more--> In the video, Rihanna prescribes Em one (1) movie and one (1) ride down an elevator shaft with his old selves. In the end, he meets himself, trapped in a box, and chooses to get back in the elevator. Dr. Rihanna is in the house! <a href="http://www.directlyrics.com/eminem-the-monster-lyrics.html" target="_blank">Lyrics for the song are now on Directlyrics</a>.' ); $countMatches = preg_match_all('/<a(.*?)(www.)?directlyrics.com(.*?)>/i', $post['post_content'], $matches); var_dump($matches);

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.250.0060.04712.39
5.4.240.0090.03212.36
5.4.230.0070.03712.36
5.4.220.0070.03912.35
5.4.210.0070.03412.35
5.4.200.0090.03412.36
5.4.190.0040.03712.35
5.4.180.0050.03612.35
5.4.170.0060.03512.36
5.4.160.0030.03712.35
5.4.150.0030.03812.34
5.4.140.0060.03612.04
5.4.130.0070.03412.02
5.4.120.0050.03611.98
5.4.110.0050.03711.98
5.4.100.0060.04011.98
5.4.90.0060.05011.98
5.4.80.0100.03911.98
5.4.70.0070.03511.98
5.4.60.0080.03411.98
5.4.50.0080.03211.97
5.4.40.0040.03611.96
5.4.30.0060.03511.96
5.4.20.0040.03911.95
5.4.10.0090.03211.96
5.4.00.0070.03511.46
5.3.280.0070.03712.70
5.3.270.0060.03912.72
5.3.260.0060.04112.71
5.3.250.0060.04112.72
5.3.240.0090.03712.72
5.3.230.0090.04812.71
5.3.220.0050.03912.68
5.3.210.0080.03712.68
5.3.200.0090.03712.68
5.3.190.0050.03912.68
5.3.180.0060.03612.67
5.3.170.0100.03412.67
5.3.160.0050.03712.67
5.3.150.0080.03512.67
5.3.140.0100.03212.66
5.3.130.0080.04812.66
5.3.120.0110.03812.66
5.3.110.0080.03712.66
5.3.100.0050.03712.12
5.3.90.0060.04212.09
5.3.80.0070.03612.07
5.3.70.0080.03412.08
5.3.60.0040.04112.06
5.3.50.0090.04712.00
5.3.40.0080.03512.00
5.3.30.0080.04211.94
5.3.20.0090.03911.70
5.3.10.0060.03911.66
5.3.00.0050.03711.64

preferences:
135.29 ms | 1394 KiB | 7 Q