3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_GET = array_map(function() { return openssl_random_pseudo_bytes(4); }, range(0, 500)); $before = microtime(1); array_walk_recursive($_GET, function($item) { return stripslashes($item); }); echo microtime(1) - $before;
Output for 7.1.0
9.0122222900391E-5
Output for 7.0.14
9.1075897216797E-5
Output for 5.5.34, 7.0.1, 7.0.6
9.8943710327148E-5
Output for 7.0.5
9.7036361694336E-5
Output for 7.0.4
8.0108642578125E-5
Output for 7.0.3
7.1048736572266E-5
Output for 7.0.2
7.2002410888672E-5
Output for 7.0.0
6.0081481933594E-5
Output for hhvm-3.12.0
0.00012087821960449
Output for hhvm-3.10.0
0.00010585784912109
Output for 5.5.26, 5.6.28
0.0001671314239502
Output for 5.6.21
0.00016617774963379
Output for 5.5.24, 5.6.20
0.00015807151794434
Output for 5.6.19
0.00013399124145508
Output for 5.5.29, 5.5.35, 5.6.18
0.00010299682617188
Output for 5.6.17
0.00014281272888184
Output for 5.6.16
0.00016593933105469
Output for 5.6.15
0.00013494491577148
Output for 5.6.14
0.00016188621520996
Output for 5.6.13
0.00016212463378906
Output for 5.4.44, 5.6.12
0.00015091896057129
Output for 5.6.11
0.00013089179992676
Output for 5.6.10
0.00010991096496582
Output for 5.6.9
0.0001060962677002
Output for 5.6.8
0.00010490417480469
Output for 5.6.7
0.00011205673217773
Output for 5.5.33
0.00014805793762207
Output for 5.5.32
0.00015616416931152
Output for 5.5.31
0.00015115737915039
Output for 5.5.30
0.00019288063049316
Output for 5.5.28
0.00016283988952637
Output for 5.5.27
0.00019097328186035
Output for 5.5.25
0.00016307830810547
Output for 5.4.45
0.00018191337585449
Output for 5.4.43
0.00015020370483398
Output for 5.4.42
0.00016093254089355
Output for 5.4.41
0.00014901161193848
Output for 5.4.40
0.0001530647277832
Output for 5.4.39
0.00033998489379883
Output for 5.4.38
0.00017499923706055
Output for 5.4.37
0.00021815299987793
Output for 5.4.36
0.00020790100097656
Output for 5.3.0 - 5.4.35
Fatal error: Call to undefined function openssl_random_pseudo_bytes() in /in/DQLFZ on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /in/DQLFZ 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/DQLFZ on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/DQLFZ on line 3
Process exited with code 255.