3v4l.org

run code in 300+ PHP versions simultaneously
<?php class लगर { const इन्फो = 'इन्फो'; public function लग(string $मेसेज, string $लेवल) { echo "[$लेवल] $मेसेज"; } } (new लगर)->लग('hello', लगर::इन्फो);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UVtt1
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   NEW                                              $0      '%E0%A4%B2%E0%A4%97%E0%A4%B0'
          1        DO_FCALL                                      0          
          2        INIT_METHOD_CALL                                         $0, '%E0%A4%B2%E0%A4%97'
          3        SEND_VAL_EX                                              'hello'
          4        SEND_VAL_EX                                              '%E0%A4%87%E0%A4%A8%E0%A5%8D%E0%A4%AB%E0%A5%8B'
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Class लगर:
Function %E0%A4%B2%E0%A4%97:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UVtt1
function name:  लग
number of ops:  8
compiled vars:  !0 = $मेसेज, !1 = $लेवल
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    9     2        ROPE_INIT                                     4  ~3      '%5B'
          3        ROPE_ADD                                      1  ~3      ~3, !1
          4        ROPE_ADD                                      2  ~3      ~3, '%5D+'
          5        ROPE_END                                      3  ~2      ~3, !0
          6        ECHO                                                     ~2
   10     7      > RETURN                                                   null

End of function %E0%A4%B2%E0%A4%97

End of class लगर.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.63 ms | 1440 KiB | 13 Q