3v4l.org

run code in 500+ PHP versions simultaneously
<?php $var = array( "type" => "<p style=\"text-align: center;\">sfds</p>" ); $encoded = json_encode($var); echo '<pre>'; print_r($encoded);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XWI43
function name:  (null)
number of ops:  10
compiled vars:  !0 = $var, !1 = $encoded
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    6     1        INIT_FCALL                                                   'json_encode'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                             $3      
          4        ASSIGN                                                       !1, $3
    9     5        ECHO                                                         '%3Cpre%3E'
   10     6        INIT_FCALL                                                   'print_r'
          7        SEND_VAR                                                     !1
          8        DO_ICALL                                                     
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
167.61 ms | 2228 KiB | 15 Q