3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "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" preg_match( '/\[#(\d+)\]/', '[#1234] Subject', $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.0230.06318.80
5.4.250.0130.05018.96
5.4.240.0200.04318.65
5.4.230.0030.08318.74
5.4.220.0100.05318.73
5.4.210.0170.04019.09
5.4.200.0030.05718.77
5.4.190.0100.05018.89
5.4.180.0200.04319.02
5.4.170.0000.06019.05
5.4.160.0070.05319.08
5.4.150.0100.05719.08
5.4.140.0170.04016.40
5.4.130.0070.04716.34
5.4.120.0130.04316.35
5.4.110.0100.05016.47
5.4.100.0070.05016.38
5.4.90.0070.05016.48
5.4.80.0030.07016.60
5.4.70.0030.05316.63
5.4.60.0100.04716.52
5.4.50.0130.04016.56
5.4.40.0070.07016.54
5.4.30.0270.04016.59
5.4.20.0030.05316.52
5.4.10.0170.04316.48
5.4.00.0200.05715.98
5.3.280.0070.06314.36
5.3.270.0100.06714.30
5.3.260.0070.05714.39
5.3.250.0130.07014.30
5.3.240.0100.05714.65
5.3.230.0070.05014.30
5.3.220.0030.05314.42
5.3.210.0030.05714.57
5.3.200.0170.06714.66
5.3.190.0200.03714.41
5.3.180.0070.05314.42
5.3.170.0100.04714.57
5.3.160.0030.06014.41
5.3.150.0170.04314.57
5.3.140.0130.07014.61
5.3.130.0100.05714.32
5.3.120.0070.06714.70
5.3.110.0130.04314.39
5.3.100.0030.05314.13
5.3.90.0030.06014.04
5.3.80.0100.05014.04
5.3.70.0030.05714.07
5.3.60.0170.06314.15
5.3.50.0030.05314.00
5.3.40.0030.05313.79
5.3.30.0070.04713.95
5.3.20.0000.05313.71
5.3.10.0070.05013.66
5.3.00.0070.05013.52
5.2.170.0130.04311.16
5.2.160.0030.06311.14
5.2.150.0070.04011.17
5.2.140.0100.03711.02
5.2.130.0070.05311.25
5.2.120.0030.04311.02
5.2.110.0000.04311.06
5.2.100.0070.04711.02
5.2.90.0030.04711.11
5.2.80.0070.04011.20
5.2.70.0100.03710.92
5.2.60.0070.05311.05
5.2.50.0030.04711.03
5.2.40.0070.04011.11
5.2.30.0070.04010.80
5.2.20.0100.05010.72
5.2.10.0100.04010.76
5.2.00.0030.04010.87
5.1.60.0030.03310.08
5.1.50.0030.0339.92
5.1.40.0100.02710.16
5.1.30.0030.03710.19
5.1.20.0130.03010.41
5.1.10.0000.04310.11
5.1.00.0170.02310.29
5.0.50.0070.0408.78
5.0.40.0000.0438.33
5.0.30.0030.0438.10
5.0.20.0170.0278.11
5.0.10.0000.0338.23
5.0.00.0100.0577.99
4.4.90.0000.0236.40
4.4.80.0030.0206.40
4.4.70.0030.0206.40
4.4.60.0000.0236.40
4.4.50.0100.0136.40
4.4.40.0030.0336.40
4.4.30.0030.0236.40
4.4.20.0030.0206.40
4.4.10.0070.0206.40
4.4.00.0030.0306.40
4.3.110.0070.0176.40
4.3.100.0070.0176.40
4.3.90.0000.0206.40
4.3.80.0030.0406.40
4.3.70.0070.0176.40
4.3.60.0000.0336.40
4.3.50.0000.0276.40
4.3.40.0070.0306.40
4.3.30.0000.0336.40
4.3.20.0030.0206.40
4.3.10.0030.0206.40
4.3.00.0170.0207.28

preferences:
136.12 ms | 1394 KiB | 7 Q