3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=array( "foo" => "bar", "bar" => "foo", ); $b=0; echo $b+NULL; var_dump(strcmp($a, "foo")); echo "\n"; ; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cWA9k
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        ASSIGN                                                   !1, 0
    8     2        ADD                                              ~4      !1, null
          3        ECHO                                                     ~4
    9     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'strcmp'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 'foo'
          8        DO_ICALL                                         $5      
          9        SEND_VAR                                                 $5
         10        DO_ICALL                                                 
   10    11        ECHO                                                     '%0A'
   13    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.17 ms | 1398 KiB | 17 Q