3v4l.org

run code in 300+ PHP versions simultaneously
<?php assert(false && new class (true) { public function __construct( public bool $boolVal ) {} } );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rM9Hi
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSERT_CHECK                                             
          1        INIT_FCALL                                               'assert'
          2        SEND_VAL                                                 <false>
          3        SEND_VAL                                                 'assert%28false+%26%26+new+class%28true%29+%7B%0A++++public+function+__construct%28bool+%24boolVal%29+%7B%0A++++%7D%0A%0A%7D%29'
          4        DO_ICALL                                                 
    5     5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.38 ms | 995 KiB | 14 Q