3v4l.org

run code in 300+ PHP versions simultaneously
<?php $memcache = new Memcache(); $memcache->connect( "nonexistenthost", 123 ); $memcache->add( "foo", "bar"); var_dump($memcache->get( "foo" ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CKdNA
function name:  (null)
number of ops:  18
compiled vars:  !0 = $memcache
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'Memcache'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    4     3        INIT_METHOD_CALL                                         !0, 'connect'
          4        SEND_VAL_EX                                              'nonexistenthost'
          5        SEND_VAL_EX                                              123
          6        DO_FCALL                                      0          
    5     7        INIT_METHOD_CALL                                         !0, 'add'
          8        SEND_VAL_EX                                              'foo'
          9        SEND_VAL_EX                                              'bar'
         10        DO_FCALL                                      0          
    6    11        INIT_FCALL                                               'var_dump'
         12        INIT_METHOD_CALL                                         !0, 'get'
         13        SEND_VAL_EX                                              'foo'
         14        DO_FCALL                                      0  $6      
         15        SEND_VAR                                                 $6
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.32 ms | 939 KiB | 16 Q