3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.55 ms | 1399 KiB | 19 Q