3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = '❷span class=❹hl-variable❹❸$foo❷/span❸ = ❷span style=❹display: none❹❸{_❷/span❸❷span class=❹hl-em❹❸"❷span class=❹hl-value❹❸SELECT * FR❷span class=❹hl-property❹❸SELECT❷/span❸rs�❷span class=❹hl-property❹❸FROM❷/span❸pan❸"❷/span❸❷span style=❹display: none❹❸_}❷/span❸;'; $content = preg_replace('/\R/u', PHP_EOL, $content); echo $content;

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.3.140.0090.00916.70
8.3.130.0080.00018.71
8.3.120.0050.00520.86
8.3.110.0350.00622.58
8.3.100.0410.00522.58
8.3.90.0300.01022.58
8.3.80.0350.01322.58
8.3.70.0370.01522.58
8.3.60.0320.01922.58
8.3.50.0400.00822.58
8.3.40.0380.00422.58
8.3.30.0270.01222.58
8.3.20.0240.01422.58
8.3.10.0230.01222.58
8.3.00.0160.00722.58
8.2.250.0040.00416.99
8.2.240.0090.00016.99
8.2.230.0230.01622.58
8.2.220.0320.00522.58
8.2.210.0280.00622.58
8.2.200.0160.01622.58
8.2.190.0190.01622.58
8.2.180.0240.00022.58
8.2.170.0230.00022.58
8.2.160.0150.01122.58
8.2.150.0250.00022.58
8.2.140.0390.00322.58
8.2.130.0420.00422.58
8.2.120.0360.00722.58
8.2.110.0330.01522.58
8.2.100.0350.00722.58
8.2.90.0290.01422.58
8.2.80.0290.01822.58
8.2.70.0300.01522.58
8.2.60.0340.01222.58
8.2.50.0350.00622.58
8.2.40.0260.00822.58
8.2.30.0290.01422.58
8.2.20.0390.01222.58
8.2.10.0260.01222.58
8.2.00.0130.00922.58
8.1.300.0070.01016.31
8.1.290.0190.01022.58
8.1.280.0160.00522.58
8.1.270.0130.00522.58
8.1.260.0200.00022.58
8.1.250.0240.00322.58
8.1.240.0180.00022.58
8.1.230.0120.00622.58
8.1.220.0220.00722.58
8.1.210.0340.00822.58
8.1.200.0290.01122.58
8.1.190.0310.01022.58
8.1.180.0330.00622.58
8.1.170.0360.00622.58
8.1.160.0400.01222.58
8.1.150.0210.01722.58
8.1.140.0330.00722.58
8.1.130.0330.00622.58
8.1.120.0370.00422.58
8.1.110.0370.01122.58
8.1.100.0290.01022.58
8.1.90.0260.00922.58
8.1.80.0260.01322.58
8.1.70.0310.00722.58
8.1.60.0310.01122.58
8.1.50.0300.01222.58
8.1.40.0380.00522.58
8.1.30.0330.01022.58
8.1.20.0340.01122.58
8.1.10.0340.01722.58
8.1.00.0320.01122.58

preferences:
27.95 ms | 403 KiB | 5 Q