3v4l.org

run code in 300+ PHP versions simultaneously
<?php json_encode(["url" => sprintf("/una/%s/de/%s", "prueba", "url")]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gGWge
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'json_encode'
          1        INIT_FCALL                                               'sprintf'
          2        SEND_VAL                                                 '%2Funa%2F%25s%2Fde%2F%25s'
          3        SEND_VAL                                                 'prueba'
          4        SEND_VAL                                                 'url'
          5        DO_ICALL                                         $0      
          6        INIT_ARRAY                                       ~1      $0, 'url'
          7        SEND_VAL                                                 ~1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.46 ms | 1398 KiB | 17 Q