3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_ = function($s){return $s;}; define('TEISU','定数'); echo "あいう{$_TEISU}えお";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Hbrhd
function name:  (null)
number of ops:  11
compiled vars:  !0 = $_, !1 = $_TEISU
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FHbrhd%3A3%240'
          1        ASSIGN                                                   !0, ~2
    5     2        INIT_FCALL                                               'define'
          3        SEND_VAL                                                 'TEISU'
          4        SEND_VAL                                                 '%E5%AE%9A%E6%95%B0'
          5        DO_ICALL                                                 
    7     6        ROPE_INIT                                     3  ~6      '%E3%81%82%E3%81%84%E3%81%86'
          7        ROPE_ADD                                      1  ~6      ~6, !1
          8        ROPE_END                                      2  ~5      ~6, '%E3%81%88%E3%81%8A'
          9        ECHO                                                     ~5
         10      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FHbrhd%3A3%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Hbrhd
function name:  {closure}
number of ops:  3
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1      > RETURN                                                   !0
          2*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FHbrhd%3A3%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.16 ms | 1395 KiB | 15 Q