3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fact = "PHP越來越重"; $reason = "因為她長大了"; echo json_encode(compact('fact','reason'), JSON_UNESCAPED_UNICODE);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7C9Uc
function name:  (null)
number of ops:  12
compiled vars:  !0 = $fact, !1 = $reason
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'PHP%E8%B6%8A%E4%BE%86%E8%B6%8A%E9%87%8D'
    4     1        ASSIGN                                                   !1, '%E5%9B%A0%E7%82%BA%E5%A5%B9%E9%95%B7%E5%A4%A7%E4%BA%86'
    5     2        INIT_FCALL                                               'json_encode'
          3        INIT_FCALL                                               'compact'
          4        SEND_VAL                                                 'fact'
          5        SEND_VAL                                                 'reason'
          6        DO_ICALL                                         $4      
          7        SEND_VAR                                                 $4
          8        SEND_VAL                                                 256
          9        DO_ICALL                                         $5      
         10        ECHO                                                     $5
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.09 ms | 1394 KiB | 17 Q