3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( 'secret' => 'value_secret', 'response' => 'value_response', ); echo ini_get('arg_separator.output') ."\n"; echo http_build_query($data) ."\n"; echo http_build_query($data, null, '&') ."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gCrMb
function name:  (null)
number of ops:  19
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        INIT_FCALL                                               'ini_get'
          2        SEND_VAL                                                 'arg_separator.output'
          3        DO_ICALL                                         $2      
          4        CONCAT                                           ~3      $2, '%0A'
          5        ECHO                                                     ~3
    8     6        INIT_FCALL                                               'http_build_query'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9        CONCAT                                           ~5      $4, '%0A'
         10        ECHO                                                     ~5
    9    11        INIT_FCALL                                               'http_build_query'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 null
         14        SEND_VAL                                                 '%26'
         15        DO_ICALL                                         $6      
         16        CONCAT                                           ~7      $6, '%0A'
         17        ECHO                                                     ~7
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.96 ms | 998 KiB | 15 Q