3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = http_build_query( array( 'criteria' => sprintf('(customerId=="%d")', 6777777), 'text' => 'test', 'audio' => 'won', 'badge' => 123, ) ); echo $t;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2mWAf
function name:  (null)
number of ops:  14
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'http_build_query'
    5     1        INIT_FCALL                                               'sprintf'
          2        SEND_VAL                                                 '%28customerId%3D%3D%22%25d%22%29'
          3        SEND_VAL                                                 6777777
          4        DO_ICALL                                         $1      
          5        INIT_ARRAY                                       ~2      $1, 'criteria'
    6     6        ADD_ARRAY_ELEMENT                                ~2      'test', 'text'
    7     7        ADD_ARRAY_ELEMENT                                ~2      'won', 'audio'
    8     8        ADD_ARRAY_ELEMENT                                ~2      123, 'badge'
          9        SEND_VAL                                                 ~2
         10        DO_ICALL                                         $3      
    3    11        ASSIGN                                                   !0, $3
   11    12        ECHO                                                     !0
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.95 ms | 1394 KiB | 17 Q