3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url_liste = "http://www.kijiji.ca/b-autos-camions/grand-montreal/suv+vgm-bmw-x5-2001__2009/c174l80002a138a54a1000054a68?sort=priceAsc&price=2000.00__40000.00&kilometres=10000__110000"; $html_liste = "<td class=\"description\"><a href=\"/v-autos-camions/ville-de-montreal/2008-bmw-x5-suv/568081363\" class=\"title enable-search-navigation-flag\" name=\"568081363\">2008 BMW X5 SUV</a><p>"; $regex_a = '/<a(.*)</a>/'; preg_match($regex_a, $html_liste, $matches); echo $matches[1]; // 1234 $regex_no = '/name="(\d+)"/'; $url_fiche = "href=\"/v-autos-camions/ville-de-montreal/2008-bmw-x5-suv/568081363\"" preg_match( , $url_fiche, $matches); echo $matches[1]; // 1234

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.260.0080.04513.21
5.4.250.0090.04713.21
5.4.240.0070.04413.22
5.4.230.0080.04513.20
5.4.220.0090.04613.21
5.4.210.0090.04313.20
5.4.200.0080.04613.21
5.4.190.0080.04613.18
5.4.180.0100.05113.18
5.4.170.0100.04413.18
5.4.160.0070.04213.20
5.4.150.0070.04213.17
5.4.140.0080.04412.62
5.4.130.0080.04412.60
5.4.120.0080.04712.56
5.4.110.0060.04212.57
5.4.100.0080.04112.58
5.4.90.0090.04812.55
5.4.80.0080.04912.57
5.4.70.0080.04612.56
5.4.60.0070.04412.56
5.4.50.0080.04012.58
5.4.40.0070.04212.57
5.4.30.0090.04112.56
5.4.20.0100.04312.55
5.4.10.0080.04512.54
5.4.00.0110.04512.04
5.3.280.0080.04612.96
5.3.270.0080.04812.94
5.3.260.0080.04912.96
5.3.250.0080.04712.96
5.3.240.0080.04412.96
5.3.230.0060.04612.96
5.3.220.0080.04112.92
5.3.210.0100.04512.90
5.3.200.0080.04112.92
5.3.190.0080.04212.92
5.3.180.0070.04212.89
5.3.170.0090.04212.91
5.3.160.0070.04712.92
5.3.150.0080.04612.89
5.3.140.0070.04412.92
5.3.130.0090.04812.89
5.3.120.0090.04612.88
5.3.110.0090.04912.87
5.3.100.0100.05012.34
5.3.90.0080.04812.34
5.3.80.0060.05012.31
5.3.70.0060.04612.32
5.3.60.0100.04412.29
5.3.50.0090.05212.22
5.3.40.0090.05012.25
5.3.30.0090.04812.18
5.3.20.0080.04911.96
5.3.10.0080.04711.94
5.3.00.0090.05111.93

preferences:
147.33 ms | 1394 KiB | 7 Q