3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test($args1, $args2) { echo '第1引数の値は:' . $args1; echo '第2引数の値は:' . $args2; } test($max = 255, '最大文字数は' . $max . 'です。'); echo '関数の後の$maxは:' . $max;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hKa5L
function name:  (null)
number of ops:  10
compiled vars:  !0 = $max
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'test'
          1        ASSIGN                                           ~1      !0, 255
          2        SEND_VAL                                                 ~1
          3        CONCAT                                           ~2      '%E6%9C%80%E5%A4%A7%E6%96%87%E5%AD%97%E6%95%B0%E3%81%AF', !0
          4        CONCAT                                           ~3      ~2, '%E3%81%A7%E3%81%99%E3%80%82'
          5        SEND_VAL                                                 ~3
          6        DO_FCALL                                      0          
   10     7        CONCAT                                           ~5      '%E9%96%A2%E6%95%B0%E3%81%AE%E5%BE%8C%E3%81%AE%24max%E3%81%AF%EF%BC%9A', !0
          8        ECHO                                                     ~5
   11     9      > RETURN                                                   1

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hKa5L
function name:  test
number of ops:  7
compiled vars:  !0 = $args1, !1 = $args2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    4     2        CONCAT                                           ~2      '%E7%AC%AC1%E5%BC%95%E6%95%B0%E3%81%AE%E5%80%A4%E3%81%AF%EF%BC%9A', !0
          3        ECHO                                                     ~2
    5     4        CONCAT                                           ~3      '%E7%AC%AC2%E5%BC%95%E6%95%B0%E3%81%AE%E5%80%A4%E3%81%AF%EF%BC%9A', !1
          5        ECHO                                                     ~3
    6     6      > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
126.66 ms | 1401 KiB | 14 Q