3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = [ 'oauth_consumer_key' => 'wZ4uJ0H4rF', 'oauth_nonce' => '3icQVoMfNR', 'oauth_signature_method' => 'HMAC-SHA1', 'oauth_timestamp' => '1606660200', 'oauth_version' => '1.0', 'oauth_callback' => 'https://google.com/connect/twitter/callback', ]; array_walk_recursive($data, function (&$key, &$value) { $key = rawurlencode(rawurldecode($key)); $value = rawurlencode(rawurldecode($value)); }); var_dump($data);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k1AH3
function name:  (null)
number of ops:  10
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   12     1        INIT_FCALL                                               'array_walk_recursive'
          2        SEND_REF                                                 !0
          3        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2Fk1AH3%3A12%240'
   15     4        SEND_VAL                                                 ~2
          5        DO_ICALL                                                 
   17     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2Fk1AH3%3A12%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k1AH3
function name:  {closure}
number of ops:  17
compiled vars:  !0 = $key, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   13     2        INIT_FCALL                                               'rawurlencode'
          3        INIT_FCALL                                               'rawurldecode'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        ASSIGN                                                   !0, $3
   14     9        INIT_FCALL                                               'rawurlencode'
         10        INIT_FCALL                                               'rawurldecode'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $5      
         13        SEND_VAR                                                 $5
         14        DO_ICALL                                         $6      
         15        ASSIGN                                                   !1, $6
   15    16      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2Fk1AH3%3A12%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.32 ms | 1396 KiB | 21 Q