3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); namespace Foo; // strlen() will be called with strict_types=0, so this is legal. var_dump(call_user_func('strlen', false)); // Called with strict_types=1 var_dump(\call_user_func('strlen', false));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kqsCu
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_NS_FCALL_BY_NAME                                    'Foo%5Cvar_dump'
          1        INIT_NS_FCALL_BY_NAME                                    'Foo%5Ccall_user_func'
          2        SEND_VAL_EX                                              'strlen'
          3        SEND_VAL_EX                                              <false>
          4        DO_FCALL                                      0  $0      
          5        SEND_VAR_NO_REF_EX                                       $0
          6        DO_FCALL                                      0          
   11     7        INIT_NS_FCALL_BY_NAME                                    'Foo%5Cvar_dump'
          8        INIT_FCALL                                               'strlen'
          9        SEND_USER                                                <false>
         10        DO_FCALL                                      0  $2      
         11        SEND_VAR_NO_REF_EX                                       $2
         12        DO_FCALL                                      0          
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
129.27 ms | 1011 KiB | 16 Q