3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data['test'] = null; $data['testFilled'] = 'null'; $encodedData = http_build_query($data, '', '&', PHP_QUERY_RFC3986); var_dump($encodedData);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UvPRg
function name:  (null)
number of ops:  15
compiled vars:  !0 = $data, !1 = $encodedData
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'test'
          1        OP_DATA                                                  null
    4     2        ASSIGN_DIM                                               !0, 'testFilled'
          3        OP_DATA                                                  'null'
    6     4        INIT_FCALL                                               'http_build_query'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 ''
          7        SEND_VAL                                                 '%26'
          8        SEND_VAL                                                 2
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !1, $4
    8    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.83 ms | 1394 KiB | 17 Q