3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.12 ms | 1395 KiB | 19 Q