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/g7f4R
function name:  (null)
number of ops:  15
compiled vars:  !0 = $_
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2Fg7f4R%3A3%240'
          1        ASSIGN                                                   !0, ~1
    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  ~7      '%E3%81%82%E3%81%84%E3%81%86'
          7        INIT_DYNAMIC_CALL                                        !0
          8        FETCH_CONSTANT                                   ~4      'TEISU'
          9        SEND_VAL_EX                                              ~4
         10        DO_FCALL                                      0  $5      
         11        ROPE_ADD                                      1  ~7      ~7, $5
         12        ROPE_END                                      2  ~6      ~7, '%E3%81%88%E3%81%8A'
         13        ECHO                                                     ~6
         14      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2Fg7f4R%3A3%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/g7f4R
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%2Fg7f4R%3A3%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.93 ms | 1395 KiB | 15 Q