3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ich_bin_von_INNEN_nicht_erreichbar = "Hehehe"; $ich_schon_weil_AUßEN_mich_auch_kennt = "Ba dum - tss "; function ich_bin_außen () use ( $ich_schon_weil_AUßEN_mich_auch_kennt ) { $ichBinInnen = function () use ( $ich_bin_von_INNEN_nicht_erreichbar, $ich_schon_weil_AUßEN_mich_auch_kennt ) { var_dump( $ich_bin_von_INNEN_nicht_erreichbar ); var_dump( $ich_schon_weil_AUßEN_mich_auch_kennt ); }; } $innenInstanz = ich_bin_außen(); $innenInstanz(); ?>

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.280.0090.04412.39
5.4.270.0090.04312.40
5.4.260.0090.04712.39
5.4.250.0070.04712.39
5.4.240.0070.04812.39
5.4.230.0070.04812.39
5.4.220.0090.04612.39
5.4.210.0080.04712.39
5.4.200.0090.04612.39
5.4.190.0070.04612.38
5.4.180.0050.05212.38
5.4.170.0090.04312.39
5.4.160.0070.04412.39
5.4.150.0120.04212.38
5.4.140.0070.05212.07
5.4.130.0080.04612.05
5.4.120.0100.05112.02
5.4.110.0080.05312.01
5.4.100.0090.04912.02
5.4.90.0090.05812.02
5.4.80.0130.05012.02
5.4.70.0080.04512.02
5.4.60.0080.04712.01
5.4.50.0080.04412.01
5.4.40.0040.04512.00
5.4.30.0090.04312.00
5.4.20.0050.04811.99
5.4.10.0140.06012.00
5.4.00.0080.04511.49
5.3.280.0140.04912.71
5.3.270.0120.05812.72
5.3.260.0120.07912.72
5.3.250.0110.06512.72
5.3.240.0140.06512.72
5.3.230.0070.05212.71
5.3.220.0080.05812.68
5.3.210.0140.05012.68
5.3.200.0090.04712.68
5.3.190.0100.05012.68
5.3.180.0060.06112.67
5.3.170.0070.05212.67
5.3.160.0070.05412.67
5.3.150.0070.05012.67
5.3.140.0040.05312.66
5.3.130.0100.05212.66
5.3.120.0150.06612.66
5.3.110.0090.05612.66
5.3.100.0070.04712.12
5.3.90.0070.04812.09
5.3.80.0080.04912.08
5.3.70.0120.04712.08
5.3.60.0070.04612.07
5.3.50.0100.04712.01
5.3.40.0090.04512.01
5.3.30.0080.05011.97
5.3.20.0060.04711.75
5.3.10.0080.04411.72
5.3.00.0070.04811.70
5.2.170.0080.0379.20
5.2.160.0070.0389.20
5.2.150.0090.0389.20
5.2.140.0040.0439.20
5.2.130.0050.0409.16
5.2.120.0070.0389.15
5.2.110.0110.0349.16
5.2.100.0080.0429.16
5.2.90.0070.0389.16
5.2.80.0100.0439.15
5.2.70.0100.0379.16
5.2.60.0090.0519.11
5.2.50.0090.0439.08
5.2.40.0140.0619.05
5.2.30.0080.0519.03
5.2.20.0120.0419.02
5.2.10.0070.0428.93
5.2.00.0090.0418.80
5.1.60.0050.0328.07
5.1.50.0080.0338.07
5.1.40.0070.0368.05
5.1.30.0070.0398.40
5.1.20.0070.0388.42
5.1.10.0080.0418.15
5.1.00.0090.0368.15
5.0.50.0070.0276.63
5.0.40.0040.0276.49
5.0.30.0040.0406.30
5.0.20.0070.0236.27
5.0.10.0050.0256.25
5.0.00.0040.0386.24
4.4.90.0050.0314.78
4.4.80.0060.0314.75
4.4.70.0070.0294.76
4.4.60.0080.0274.76
4.4.50.0070.0274.77
4.4.40.0030.0304.71
4.4.30.0040.0194.76
4.4.20.0040.0204.85
4.4.10.0020.0224.85
4.4.00.0020.0334.76
4.3.110.0060.0174.67
4.3.100.0040.0194.67
4.3.90.0040.0194.63
4.3.80.0040.0274.58
4.3.70.0040.0164.63
4.3.60.0030.0204.63
4.3.50.0040.0204.62
4.3.40.0050.0304.54
4.3.30.0010.0233.30
4.3.20.0030.0213.28
4.3.10.0020.0203.24
4.3.00.0200.0206.91

preferences:
141.89 ms | 1394 KiB | 7 Q