3v4l.org

run code in 300+ PHP versions simultaneously
<?php $directoryURI = $_SERVER['REQUEST_URI']; $path = parse_url($directoryURI, PHP_URL_PATH); $components = explode('/', $path); $first_part = $components[1]; ?> <ul id="mainnav"> <li class="<?php if ($first_part=="") {echo "active"; } ?>"><a href="#">Home</a></li> <li class="<?php if ($first_part=="tutorials") {echo "active"; } ?>"><a href="#">Tutorials</a></li> <li class="<?php if ($first_part=="resources") {echo "active"; } ?>"><a href="#">Resources</a></li> <li class="<?php if ($first_part=="library") {echo "active"; } ?>"><a href="#">Library</a></li> <li class="<?php if ($first_part=="our-projects") {echo "active"; } ?>"><a href="#">Our Projects</a></li> <li class="<?php if ($first_part=="community") {echo "active"; } ?>"><a href="#">Community</a></li> </ul>

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.0090.01018.00
8.4.120.0120.00822.35
8.4.110.0050.00722.75
8.4.100.0060.00317.81
8.4.90.0090.01120.54
8.4.80.0110.00820.66
8.4.70.0150.00717.97
8.4.60.0120.01124.09
8.4.50.0130.00719.65
8.4.40.0000.00817.86
8.4.30.0100.01020.73
8.4.20.0160.00322.21
8.4.10.0090.00023.73
8.3.260.0120.00616.61
8.3.250.0050.00318.98
8.3.240.0040.00616.95
8.3.230.0100.00916.72
8.3.220.0080.01119.04
8.3.210.0030.00416.74
8.3.200.0050.00716.85
8.3.190.0100.01016.63
8.3.180.0110.00816.80
8.3.170.0100.00717.20
8.3.160.0090.00016.55
8.3.150.0100.01016.78
8.3.140.0000.00816.65
8.3.130.0000.01018.64
8.3.120.0090.00019.00
8.3.110.0160.00520.94
8.3.100.0130.00724.06
8.3.90.0000.00826.77
8.3.80.0030.00716.63
8.3.70.0110.00416.88
8.3.60.0090.00618.31
8.3.50.0110.00416.71
8.3.40.0070.00721.87
8.3.30.0030.01020.11
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.290.0130.00520.78
8.2.280.0150.00418.45
8.2.270.0080.00016.70
8.2.260.0100.01017.35
8.2.250.0000.00816.71
8.2.240.0060.00317.18
8.2.230.0060.01222.58
8.2.220.0150.00437.54
8.2.210.0040.00426.77
8.2.200.0080.00016.75
8.2.190.0080.00817.00
8.2.180.0140.00716.63
8.2.170.0090.00618.91
8.2.160.0170.00022.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.55
8.2.110.0060.00320.52
8.2.100.0060.00320.57
8.2.70.0060.00319.37
8.1.330.0090.00721.92
8.1.320.0100.00916.15
8.1.310.0100.00718.43
8.1.300.0040.00418.25
8.1.290.0070.00418.88
8.1.280.0210.00025.92
8.1.270.0050.00322.24
8.1.260.0050.00326.35
8.1.250.0060.00328.09
8.1.240.0060.00318.90
8.1.230.0070.00318.57
7.4.30.0040.00617.62

preferences:
59.49 ms | 403 KiB | 5 Q