3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "( ( LED AND DIODE ) OR ( \"LEE power\" and system ) ) "; $arr = preg_split({/[^\s"']+|"([^"]*)"|'([^']*)'/}, $text); print_r($arr);

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)
7.1.60.1970.02033.11
7.1.50.1570.01332.95
7.1.40.1730.01332.35
7.1.30.2270.01732.55
7.1.20.1900.00732.70
7.1.10.1200.01314.48
7.1.00.1670.01014.59
7.0.200.2600.02014.69
7.0.190.1470.00714.77
7.0.180.1600.01014.19
7.0.170.0870.00314.19
7.0.160.1800.01314.41
7.0.150.1400.01714.31
7.0.140.1770.01314.25
7.0.130.1530.01314.54
7.0.120.0930.01014.55
7.0.110.1600.00714.52
7.0.100.1430.00714.33
7.0.90.1500.01714.50
7.0.80.1600.01314.39
7.0.70.1400.01014.24
7.0.60.2430.00714.11
7.0.50.1670.01714.40
7.0.40.1470.01714.62
7.0.30.1530.01014.66
7.0.20.1400.01314.63
7.0.10.1170.00314.39
7.0.00.1230.00714.46

preferences:
140.18 ms | 1394 KiB | 7 Q