3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Hello, my name is http://www.audio.com/1234.mp3/. Today is https://radio.org/weather.wav"; var_export( preg_split( '#\s*(https?://\S+(?<![,.]))\s*#', $string, flags: PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE ) );

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)
8.4.130.0120.00818.89
8.4.120.0060.00420.46
8.4.110.0100.00818.98
8.4.100.0120.01017.43
8.4.90.0060.00418.15
8.4.80.0120.00819.76
8.4.70.0090.00417.95
8.4.60.0080.00918.57
8.4.50.0120.00917.84
8.4.40.0170.00317.64
8.4.30.0130.00320.59
8.4.20.0160.00021.68
8.4.10.0060.00319.61
8.3.260.0100.00716.73
8.3.250.0120.00718.79
8.3.240.0110.00916.79
8.3.230.0100.01016.74
8.3.220.0140.00917.41
8.3.210.0120.00816.93
8.3.200.0070.00216.77
8.3.190.0090.01017.01
8.3.180.0120.00716.54
8.3.170.0070.00317.02
8.3.160.0110.00718.55
8.3.150.0140.00417.13
8.3.140.0070.01116.75
8.3.130.0040.00418.38
8.3.120.0090.00020.63
8.3.110.0160.00620.94
8.3.100.0450.00637.54
8.3.90.0340.00737.54
8.3.80.0420.00937.54
8.3.70.0360.00637.54
8.3.60.0360.00637.54
8.3.50.0410.00837.54
8.3.40.0400.00337.54
8.3.30.0260.01337.54
8.3.20.0200.01637.54
8.3.10.0160.01037.54
8.3.00.0400.00037.54
8.2.290.0130.00520.27
8.2.280.0120.00518.58
8.2.270.0130.00317.02
8.2.260.0060.01216.95
8.2.250.0120.00818.74
8.2.240.0040.00417.30
8.2.230.0030.00522.58
8.2.220.0310.00837.54
8.2.210.0320.00737.54
8.2.200.0350.01137.54
8.2.190.0340.01037.54
8.2.180.0280.00837.54
8.2.170.0340.00837.54
8.2.160.0440.00437.54
8.2.150.0400.00737.54
8.2.140.0420.00437.54
8.2.130.0290.00637.54
8.2.120.0410.00437.54
8.2.110.0340.00737.54
8.2.100.0430.01037.54
8.2.90.0330.01137.54
8.2.80.0360.00637.54
8.2.70.0320.00737.54
8.2.60.0320.00937.54
8.2.50.0370.00737.54
8.2.40.0370.00337.54
8.2.30.0190.02337.54
8.2.20.0320.00837.54
8.2.10.0380.00337.54
8.2.00.0350.00837.54
8.1.330.0090.00716.30
8.1.320.0110.00816.03
8.1.310.0130.00716.29
8.1.300.0130.00318.04
8.1.290.0310.01237.54
8.1.280.0300.01237.54
8.1.270.0220.01637.54
8.1.260.0380.00637.54
8.1.250.0340.01337.54
8.1.240.0300.01337.54
8.1.230.0360.00337.54
8.1.220.0220.01037.54
8.1.210.0240.00837.54
8.1.200.0260.00637.54
8.1.190.0230.01537.54
8.1.180.0250.00637.54
8.1.170.0260.00637.54
8.1.160.0340.00337.54
8.1.150.0270.01037.54
8.1.140.0320.00637.54
8.1.130.0220.01137.54
8.1.120.0360.00337.54
8.1.110.0530.00637.54
8.1.100.0610.00837.54
8.1.90.0220.01837.54
8.1.80.0310.00837.54
8.1.70.0290.01037.54
8.1.60.0390.00337.54
8.1.50.0300.01537.54
8.1.40.0360.00637.54
8.1.30.0340.00037.54
8.1.20.0320.00337.54
8.1.10.0290.00637.54
8.1.00.0340.00837.54

preferences:
82.43 ms | 403 KiB | 5 Q