3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(0); # /\ # > _< # //``. # .' '@. \ $___;/*)'. .-' /*-'-;#\ * /*.'*/($____=[]); # // @ o . /* ) $____="$____";/*'` * .' Q */$__=$___;$__++;/* *.' o . * '-. / @ */$__++;$_=$__;$_--;# `\ //( () * Q'.__Q *.' * * # '-.-' `--._ @ ``-. $_____=[$___,$___,$___,$___, /*_.-' @ __.-'~'-. @ `-.*/ $___,' ',$___,$___,$___,$___, $___,$___,$___,$___,$___,',',' ',/* .' * ..-' o 0 */ # $___,$___,$___,$___,$___,$___,'!']; $_____[($__+$_)*($__+$__)+$_]=$____[$_+$__]; $___=$____[$_+$__];$___++;$___++;/* '.*/ $_____[($__+$__+$__)*($__+$_)+$_]=++$___;/* ;--' Q */ $_____[$_]=++$___;$___++;$___++; /* 0.-~-*/$_____[$__+$__+$__+$_]=++$___;/*8*/ # $_____[($__+$_)*($__+$_)]=++$___;$___++; # # ;--' Q * * o @ '-. /*'.___ ..~ - .*/$___++;$___++;/* () Q '.*/ // @ o * */ #_.''~.._____.--'`-. /*'-*/$_____[($__+$__)*($__+$_)]=++$___;$___++;$___++; /*.':. /# |\ \\ |*/$___++;$___++;$_____[$__]=++$___; /*. ':. /. .\ */ $_____[$__+$_]=$___;$_____[$__*$__*$__]=$___; /* ':. ':.\_T_/: */ $_____[($__+$__+$_)*$__]=++$___; /*. ':. /` `\ */ $_____[($__+$__)*($__+$_)+$__]=$___; /* :. ':(/ \)*/ $_____[($__+$_)*($__+$_)+$__]=++$___; /* '::.__'/';-;'\ */ $___++;$___++;$___++;$___++;$_____[$__+$__]=++$___; /* ()/ \()*/ $_____[($__+$__)*($__+$__)+$__]=$___;$_--; /* __.----.(\-''#####---...___...-----._*/ $___=$____[$_]; /* '` \)_`"""""`*/ $___++;$_____[$__+$__+$__]=++$___; /* .--' ') */ $___++;$___++;$___++;$___++;$_++; /* o( )_-\ */ $_____[($__+$__+$_)*($__+$__)+$_]=++$___; /* `"""` ` */ $___++;$___++;$___++;$___++;$_--; /* */ $_____[$_]=++$___;$___++;$___++;$_++; /* Christmas greetings! */ $_____[($__+$__+$_)*($__+$__)]=++$___; /* */ $_____[($__+$__+$_)*($__+$__)+$__]=$___; /* @ This code is actually @ */ $___++;$___++; /* @ valid PHP code. @ */ $_____[($__+$__)*($__+$__)+$_]=++$___; /* @ Requires PHP5.4 @ */ echo implode($_____); // This software is licensed under the New BSD License. // Copyright (c) 2012, Romanko. All rights reserved.

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.70.0110.00416.88
8.3.60.0140.00018.68
8.3.50.0120.01222.05
8.3.40.0070.00718.67
8.3.30.0040.01119.02
8.3.20.0040.00418.73
8.3.10.0080.00020.73
8.3.00.0030.00717.75
8.2.180.0110.01116.75
8.2.170.0120.00322.96
8.2.160.0070.00722.17
8.2.150.0090.00624.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00019.95
8.2.110.0110.00022.27
8.2.100.0060.00617.84
8.2.90.0070.00019.16
8.2.80.0030.00618.05
8.2.70.0040.00417.75
8.2.60.0000.00818.05
8.2.50.0060.00318.07
8.2.40.0070.00018.28
8.2.30.0000.00820.02
8.2.20.0000.00817.73
8.2.10.0080.00017.70
8.2.00.0000.00917.90
8.1.280.0060.01525.92
8.1.270.0070.00023.99
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0030.00622.50
8.1.230.0000.01220.91
8.1.220.0030.00618.77
8.1.210.0000.00818.93
8.1.200.0000.01117.23
8.1.190.0000.00717.51
8.1.180.0000.00818.10
8.1.170.0040.00418.94
8.1.160.0050.00218.92
8.1.150.0040.00418.66
8.1.140.0060.00317.54
8.1.130.0030.00317.73
8.1.120.0040.00417.51
8.1.110.0050.00317.47
8.1.100.0030.00417.35
8.1.90.0040.00417.49
8.1.80.0000.00717.43
8.1.70.0030.00317.38
8.1.60.0040.00417.63
8.1.50.0030.00517.49
8.1.40.0040.00417.56
8.1.30.0040.00417.66
8.1.20.0000.00717.76
8.1.10.0030.00617.57
8.1.00.0030.00617.43
8.0.300.0000.00719.86
8.0.290.0060.00316.75
8.0.280.0000.00818.39
8.0.270.0000.00717.27
8.0.260.0000.00816.90
8.0.250.0000.00717.06
8.0.240.0040.00416.92
8.0.230.0040.00417.07
8.0.220.0030.00317.02
8.0.210.0000.00716.88
8.0.200.0040.00416.94
8.0.190.0000.00817.04
8.0.180.0040.00416.88
8.0.170.0050.00516.88
8.0.160.0050.00316.94
8.0.150.0040.00416.93
8.0.140.0000.00816.99
8.0.130.0000.00813.45
8.0.120.0040.00416.86
8.0.110.0080.00016.83
8.0.100.0040.00316.79
8.0.90.0030.00516.79
8.0.80.0050.01016.88
8.0.70.0000.00716.83
8.0.60.0000.00717.02
8.0.50.0040.00416.79
8.0.30.0130.00917.23
8.0.20.0090.00917.40
8.0.10.0070.00016.98
8.0.00.0050.01216.76
7.4.330.0000.00514.77
7.4.320.0060.00016.57
7.4.300.0030.00316.53
7.4.290.0030.00316.56
7.4.280.0000.00816.56
7.4.270.0030.00316.66
7.4.260.0090.00013.21
7.4.250.0030.00516.48
7.4.240.0000.00816.63
7.4.230.0000.00716.54
7.4.220.0150.01316.60
7.4.210.0070.00916.52
7.4.200.0070.00016.43
7.4.190.0070.00016.70
7.4.160.0130.00316.70
7.4.150.0030.01417.40
7.4.140.0090.01017.86
7.4.130.0120.00516.64
7.4.120.0140.00316.65
7.4.110.0100.00716.44
7.4.100.0090.01216.72
7.4.90.0140.00416.66
7.4.80.0140.00719.03
7.4.70.0060.00916.61
7.4.60.0060.01116.57
7.4.50.0000.00816.46
7.4.40.0100.00722.27
7.4.30.0100.00616.66
7.4.00.0060.01214.96
7.3.330.0000.00513.40
7.3.320.0050.00013.30
7.3.310.0050.00316.41
7.3.300.0040.00416.41
7.3.290.0070.00716.44
7.3.280.0090.00516.39
7.3.270.0120.00617.40
7.3.260.0150.01018.24
7.3.250.0150.00616.33
7.3.240.0070.01016.39
7.3.230.0090.00816.61
7.3.210.0100.01016.38
7.3.200.0120.00619.39
7.3.190.0180.00416.41
7.3.180.0060.00916.36
7.3.170.0100.00716.69
7.3.160.0080.00816.39
7.3.120.0100.00314.94
7.2.330.0070.01116.81
7.2.320.0070.01016.72
7.2.310.0160.00316.87
7.2.300.0140.00216.75
7.2.290.0070.01016.43
7.2.00.0210.00719.34
7.1.100.0040.00418.16
7.1.70.0030.00616.90
7.1.60.0070.01819.40
7.1.50.0070.01516.81
7.1.00.0000.03722.35
7.0.200.0180.00614.67
7.0.140.0130.06322.09
7.0.60.0130.05720.02
7.0.50.0070.07717.68
7.0.40.0100.05717.73
7.0.30.0130.08017.69
7.0.20.0100.04317.75
7.0.10.0100.03717.66
7.0.00.0100.04717.75
5.6.280.0000.07721.07
5.6.210.0070.08020.77
5.6.200.0100.08318.19
5.6.190.0070.04318.12
5.6.180.0070.05318.12
5.6.170.0000.04718.16
5.6.160.0070.04318.08
5.6.150.0070.04018.18
5.6.140.0130.07318.16
5.6.130.0070.08318.18
5.6.120.0100.04318.22
5.6.110.0070.08318.16
5.6.100.0000.04718.17
5.6.90.0100.07018.17
5.6.80.0070.07717.46
5.6.70.0030.04017.49
5.6.60.0070.07717.50
5.6.50.0100.03317.49
5.6.40.0070.08017.45
5.6.30.0130.07317.47
5.6.20.0130.06717.53
5.6.10.0130.03317.54
5.6.00.0100.06717.49
5.5.350.0270.07720.41
5.5.340.0070.06017.91
5.5.330.0070.03717.95
5.5.320.0200.04317.99
5.5.310.0130.07717.90
5.5.300.0130.07317.92
5.5.290.0070.08017.95
5.5.280.0100.05317.92
5.5.270.0070.05017.96
5.5.260.0030.08717.91
5.5.250.0030.07717.79
5.5.240.0070.03717.30
5.5.230.0070.08317.42
5.5.220.0030.05717.26
5.5.210.0100.03317.38
5.5.200.0000.04317.26
5.5.190.0070.07317.36
5.5.180.0030.06017.28
5.5.160.0030.04017.34
5.5.150.0100.06717.36
5.5.140.0100.06317.32
5.5.130.0030.05017.33
5.5.120.0030.05017.23
5.5.110.0070.04317.23
5.5.100.0070.05317.23
5.5.90.0000.06717.15
5.5.80.0100.07317.32
5.5.70.0070.07717.22
5.5.60.0100.07717.22
5.5.50.0070.08317.21
5.5.40.0070.07717.14
5.5.30.0030.08317.07
5.5.20.0130.05717.13
5.5.10.0000.04017.20
5.5.00.0130.07017.21
5.4.450.0130.07319.15
5.4.440.0100.08019.31
5.4.430.0030.08719.35
5.4.420.0030.06719.33
5.4.410.0130.07319.20
5.4.400.0030.07019.03
5.4.390.0000.05019.09
5.4.380.0130.06719.09
5.4.370.0070.03718.98
5.4.360.0030.04019.20
5.4.350.0100.07318.93
5.4.340.0030.06319.01
5.4.320.0070.07719.03
5.4.310.0100.04318.82
5.4.300.0100.07318.82
5.4.290.0070.04718.98
5.4.280.0030.04718.98
5.4.270.0100.04019.20
5.4.260.0130.07018.98
5.4.250.0070.05719.11
5.4.240.0070.06319.09
5.4.230.0200.06019.02
5.4.220.0070.08018.97
5.4.210.0100.07719.11
5.4.200.0070.08018.97
5.4.190.0130.07018.96
5.4.180.0070.03318.98
5.4.170.0000.08318.80
5.4.160.0030.04719.01
5.4.150.0030.08019.00
5.4.140.0000.05716.29
5.4.130.0070.06016.46
5.4.120.0100.04716.25
5.4.110.0030.06316.30
5.4.100.0130.06716.38
5.4.90.0100.04316.42
5.4.80.0030.06716.24
5.4.70.0070.07016.26
5.4.60.0130.07016.42
5.4.50.0170.06716.27
5.4.40.0100.05016.32
5.4.30.0100.06316.33
5.4.20.0030.07316.23
5.4.10.0030.05016.25
5.4.00.0130.03315.79
5.3.290.0000.06314.49
5.3.280.0070.07714.59
5.3.270.0130.03014.56
5.3.260.0070.04714.38
5.3.250.0100.06714.53
5.3.240.0100.03714.58
5.3.230.0000.05314.68
5.3.220.0000.04014.39
5.3.210.0100.07014.56
5.3.200.0030.06314.53
5.3.190.0030.08714.55
5.3.180.0030.07714.54
5.3.170.0100.06714.44
5.3.160.0100.07314.39
5.3.150.0270.03014.55
5.3.140.0130.07014.41
5.3.130.0170.06314.52
5.3.120.0030.04714.52
5.3.110.0130.07014.63
5.3.100.0070.03713.98
5.3.90.0030.07713.98
5.3.80.0070.05713.95
5.3.70.0070.05014.09
5.3.60.0100.05013.77
5.3.50.0030.04313.82
5.3.40.0030.06713.91
5.3.30.0100.07013.68
5.3.20.0170.06313.48
5.3.10.0100.07013.59
5.3.00.0070.07313.59
5.2.170.0070.05711.10
5.2.160.0100.05011.14
5.2.150.0030.03711.14
5.2.140.0070.05311.14
5.2.130.0070.05711.03
5.2.120.0030.05710.93
5.2.110.0030.06011.25
5.2.100.0000.06711.09
5.2.90.0000.07011.10
5.2.80.0000.05711.12
5.2.70.0070.06311.08
5.2.60.0070.03711.04
5.2.50.0030.06711.01
5.2.40.0000.06710.91
5.2.30.0100.05010.97
5.2.20.0070.05710.91
5.2.10.0030.06010.84
5.2.00.0000.03710.75
5.1.60.0030.05310.07
5.1.50.0070.05310.07
5.1.40.0200.04010.07
5.1.30.0100.04310.37
5.1.20.0030.05710.39
5.1.10.0030.05710.14
5.1.00.0070.03310.10
5.0.50.0000.05010.07
5.0.40.0030.04010.07
5.0.30.0000.04310.07
5.0.20.0000.02010.07
5.0.10.0030.02010.07
5.0.00.0000.03010.07
4.4.90.0030.02310.07
4.4.80.0030.03310.07
4.4.70.0030.03310.07
4.4.60.0030.03010.07
4.4.50.0000.03010.07
4.4.40.0030.05010.07
4.4.30.0000.03710.07
4.4.20.0000.02710.07
4.4.10.0000.04010.07
4.4.00.0000.05710.07
4.3.110.0000.03310.07
4.3.100.0070.01010.07
4.3.90.0000.02010.07
4.3.80.0000.02310.07
4.3.70.0000.01710.07
4.3.60.0000.01310.07
4.3.50.0000.01710.07
4.3.40.0000.02710.07
4.3.30.0030.01310.07
4.3.20.0030.01310.07
4.3.10.0000.01310.07
4.3.00.0000.01310.07

preferences:
46.66 ms | 401 KiB | 5 Q