3v4l.org

run code in 300+ PHP versions simultaneously
<?php assert_options(ASSERT_ACTIVE, 0); $myString = array( 'foo' => 'myStsring' ); $foo = assert('"myString" === $myString["foo"]'); var_dump($foo);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MPkT1
function name:  (null)
number of ops:  15
compiled vars:  !0 = $myString, !1 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'assert_options'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 0
          3        DO_ICALL                                                 
    3     4        ASSIGN                                                   !0, <array>
    7     5        ASSERT_CHECK                                     $4      
          6        INIT_FCALL                                               'assert'
          7        SEND_VAL                                                 '%22myString%22+%3D%3D%3D+%24myString%5B%22foo%22%5D'
          8        SEND_VAL                                                 'assert%28%27%22myString%22+%3D%3D%3D+%24myString%5B%22foo%22%5D%27%29'
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !1, $4
    8    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.68 ms | 1394 KiB | 19 Q