3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Test; const A = 'foo'; define('Test\B', strlen('foo'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/osNGR
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   DECLARE_CONST                                            'Test%5CA', 'foo'
    6     1        INIT_NS_FCALL_BY_NAME                                    'Test%5Cdefine'
          2        SEND_VAL_EX                                              'Test%5CB'
          3        INIT_NS_FCALL_BY_NAME                                    'Test%5Cstrlen'
          4        SEND_VAL_EX                                              'foo'
          5        DO_FCALL                                      0  $0      
          6        SEND_VAR_NO_REF_EX                                       $0
          7        DO_FCALL                                      0          
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.21 ms | 1394 KiB | 17 Q