3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a { public function ping() { echo "test"; } } $a = new \SoapServer(null, array('uri' => "http://test-uri/")); $a->setClass("a"); $a->addFunction("strpos");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uiUqI
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   NEW                                              $1      'SoapServer'
          1        SEND_VAL_EX                                              null
          2        SEND_VAL_EX                                              <array>
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $1
   14     5        INIT_METHOD_CALL                                         !0, 'setClass'
          6        SEND_VAL_EX                                              'a'
          7        DO_FCALL                                      0          
   16     8        INIT_METHOD_CALL                                         !0, 'addFunction'
          9        SEND_VAL_EX                                              'strpos'
         10        DO_FCALL                                      0          
         11      > RETURN                                                   1

Class a:
Function ping:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uiUqI
function name:  ping
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                     'test'
    7     1      > RETURN                                                   null

End of function ping

End of class a.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.39 ms | 1393 KiB | 13 Q