3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('essai' => 'François'); setlocale(LC_ALL, "en_US.UTF8"); var_dump(http_build_query($a)); var_dump(http_build_query_utf8($a)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/s2ZCb
function name:  (null)
number of ops:  18
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'setlocale'
          2        SEND_VAL                                                 6
          3        SEND_VAL                                                 'en_US.UTF8'
          4        DO_ICALL                                                 
    4     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL                                               'http_build_query'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                                 
    5    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL_BY_NAME                                       'http_build_query_utf8'
         13        SEND_VAR_EX                                              !0
         14        DO_FCALL                                      0  $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
    6    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.45 ms | 1394 KiB | 19 Q