3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); function level(){ echo 'Text that won\'t get displayed.'; } } } level('level2'); echo "\n"; var_dump(ob_get_level()); ?>

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.210.3700.03319.17
5.4.200.3470.03019.20
5.4.190.3700.03019.12
5.4.180.3730.03319.23
5.4.170.4300.03319.12
5.4.160.4770.04319.16
5.4.150.4600.03718.91
5.4.140.4400.03716.35
5.4.130.4500.03316.34
5.4.120.2600.03316.43
5.4.110.0030.06316.40
5.4.100.4530.04016.51
5.4.90.4700.02716.35
5.4.80.4600.04016.46
5.4.70.4500.03316.36
5.4.60.4730.02716.46
5.4.50.4630.03316.28
5.4.40.4430.02716.43
5.4.30.4700.03716.43
5.4.20.0970.04316.29
5.4.10.0200.06316.23
5.4.00.1670.07015.83
5.3.270.3900.03714.61
5.3.260.4300.04314.61
5.3.250.4600.04014.58
5.3.240.4500.04014.75
5.3.230.4600.02714.76
5.3.220.0100.03314.57
5.3.210.0030.07314.59
5.3.200.4470.04014.63
5.3.190.4300.03714.61
5.3.180.4930.03714.57
5.3.170.4570.03314.63
5.3.160.4630.04014.59
5.3.150.4600.04014.62
5.3.140.4570.03314.55
5.3.130.4100.03014.55
5.3.120.4500.04014.55
5.3.110.0000.04314.54
5.3.100.4700.03314.07
5.3.90.4770.03714.05
5.3.80.3530.05014.01
5.3.70.4000.03014.05
5.3.60.4200.03714.01
5.3.50.4000.04013.96
5.3.40.4830.02713.96
5.3.30.4300.03713.91
5.3.20.4200.03713.61
5.3.10.3530.03713.71
5.3.00.3870.03713.78

preferences:
145.03 ms | 1386 KiB | 7 Q