3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace React; function strlen($string) { return \strlen($string) * 2;} namespace React\Storage; echo strlen("waa?");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rkmae
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_NS_FCALL_BY_NAME                                    'React%5CStorage%5Cstrlen'
          1        SEND_VAL_EX                                              'waa%3F'
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
          4      > RETURN                                                   1

Function react%5Cstrlen:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rkmae
function name:  React\strlen
number of ops:  5
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        STRLEN                                           ~1      !0
          2        MUL                                              ~2      ~1, 2
          3      > RETURN                                                   ~2
          4*     > RETURN                                                   null

End of function react%5Cstrlen

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.91 ms | 1394 KiB | 15 Q