3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_GET = array_map(function() { $a = 'TESTING TESTING TESTING TESTING TESTING TESTING'; return $a.$a.$a.$a; }, range(0, 500)); $before = microtime(1); array_walk_recursive($_GET, function($item) { return stripslashes($item); }); echo microtime(1) - $before;
Output for 7.1.0
0.00023198127746582
Output for 7.0.14
0.00022482872009277
Output for 7.0.10
0.00018882751464844
Output for 7.0.9
0.00012898445129395
Output for 7.0.8
0.00017619132995605
Output for 7.0.7
0.00012397766113281
Output for 7.0.6
0.00013589859008789
Output for 7.0.5
0.00030517578125
Output for 7.0.4
0.00013899803161621
Output for 7.0.3
0.00019311904907227
Output for 7.0.2
0.00016903877258301
Output for 7.0.1
0.00014281272888184
Output for 5.4.40, 5.5.38, 5.6.11, 5.6.14, 7.0.0
0.00017595291137695
Output for 5.6.28
0.00029492378234863
Output for 5.6.25
0.00028491020202637
Output for 5.4.35, 5.5.33, 5.6.24
0.00018000602722168
Output for 5.6.23
0.00022196769714355
Output for 5.6.22
0.00026416778564453
Output for 5.6.21
0.00025105476379395
Output for 5.6.20
0.00030398368835449
Output for 5.4.39, 5.6.19
0.00024509429931641
Output for 5.3.1, 5.6.18
0.00029587745666504
Output for 5.6.17
0.00030899047851562
Output for 5.5.28, 5.6.16
0.00017690658569336
Output for 5.4.36, 5.4.45, 5.6.13, 5.6.15
0.00017809867858887
Output for 5.6.12
0.00017714500427246
Output for 5.6.6, 5.6.10
0.00017499923706055
Output for 5.6.9
0.0001978874206543
Output for 5.6.8
0.00017285346984863
Output for 5.5.18 - 5.5.19, 5.5.24, 5.6.7
0.00017786026000977
Output for 5.3.7, 5.6.5
0.00030207633972168
Output for 5.4.37, 5.4.43, 5.5.21, 5.5.32, 5.6.4
0.00017905235290527
Output for 5.6.3
0.00020194053649902
Output for 5.6.2
0.00019478797912598
Output for 5.6.1
0.0001990795135498
Output for 5.4.5, 5.6.0
0.00028896331787109
Output for 5.5.10, 5.5.37
0.00018191337585449
Output for 5.5.36
0.00018596649169922
Output for 5.5.30, 5.5.35
0.00018095970153809
Output for 5.5.34
0.00028109550476074
Output for 5.5.31
0.00022101402282715
Output for 5.4.8, 5.5.29
0.00029182434082031
Output for 5.5.27
0.0002129077911377
Output for 5.5.26
0.00019717216491699
Output for 5.5.25
0.00021004676818848
Output for 5.5.23
0.00020384788513184
Output for 5.5.22
0.0001838207244873
Output for 5.5.20
0.00020694732666016
Output for 5.5.16
0.00026988983154297
Output for 5.4.32, 5.5.15
0.0002739429473877
Output for 5.5.14
0.00021195411682129
Output for 5.5.13
0.00028800964355469
Output for 5.5.12
0.00026488304138184
Output for 5.4.13, 5.5.11
0.00025510787963867
Output for 5.5.9
0.00024795532226562
Output for 5.4.16, 5.5.8
0.00026798248291016
Output for 5.5.7
0.00029683113098145
Output for 5.5.6
0.00027084350585938
Output for 5.5.5
0.00031113624572754
Output for 5.5.4
0.00026082992553711
Output for 5.5.3
0.0002439022064209
Output for 5.5.2
0.00021886825561523
Output for 5.5.1
0.00033092498779297
Output for 5.5.0
0.00028300285339355
Output for 5.4.44
0.00018692016601562
Output for 5.4.30, 5.4.42
0.00023102760314941
Output for 5.4.9, 5.4.41
0.00021100044250488
Output for 5.4.38
0.00018119812011719
Output for 5.4.34
0.00018310546875
Output for 5.4.31
0.00027704238891602
Output for 5.4.29
0.00038003921508789
Output for 5.4.15, 5.4.28
0.00029301643371582
Output for 5.4.27
0.00025415420532227
Output for 5.4.10, 5.4.26
0.00026202201843262
Output for 5.4.25
0.00023698806762695
Output for 5.4.24
0.00026392936706543
Output for 5.4.23
0.00029110908508301
Output for 5.4.7, 5.4.22
0.00024199485778809
Output for 5.4.21
0.00025391578674316
Output for 5.4.20
0.00027799606323242
Output for 5.4.19
0.00032186508178711
Output for 5.4.18
0.00026583671569824
Output for 5.4.17
0.00021815299987793
Output for 5.4.14
0.00026106834411621
Output for 5.4.12
0.00029516220092773
Output for 5.3.27, 5.4.11
0.0003058910369873
Output for 5.4.6
0.00031805038452148
Output for 5.4.4
0.00027012825012207
Output for 5.3.10, 5.4.3
0.00028610229492188
Output for 5.4.0, 5.4.2
0.00019001960754395
Output for 5.4.1
0.00022506713867188
Output for 5.3.29
0.00034809112548828
Output for 5.3.13, 5.3.28
0.00032401084899902
Output for 5.3.26
0.00030803680419922
Output for 5.3.25
0.00034904479980469
Output for 5.3.24
0.00034093856811523
Output for 5.3.8, 5.3.23
0.00034999847412109
Output for 5.3.22
0.00037693977355957
Output for 5.3.21
0.00032806396484375
Output for 5.3.20
0.00029706954956055
Output for 5.3.19
0.0003209114074707
Output for 5.3.18
0.00030708312988281
Output for 5.3.17
0.00037288665771484
Output for 5.3.16
0.00029397010803223
Output for 5.3.15
0.00035500526428223
Output for 5.3.14
0.00031208992004395
Output for 5.3.12
0.00027990341186523
Output for 5.3.11
0.00026607513427734
Output for 5.3.9
0.00038599967956543
Output for 5.3.6
0.00037598609924316
Output for 5.3.4 - 5.3.5
0.00033783912658691
Output for 5.3.3
0.00034403800964355
Output for 5.3.2
0.00021600723266602
Output for 5.3.0
0.00036406517028809
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /in/7RaXv on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_FUNCTION, expecting ')' in /in/7RaXv on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/7RaXv on line 3
Process exited with code 255.