3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * Rozkmiń tę zagadkę! * Podpowiem że 97 == 1 + 32 + 64 * @return boolean */ function isBeng(){ $pow = pow(2, date('w')); return ($pow & 97) == $pow; } var_dump(isBeng());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fkcX6
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'isbeng'
          2        DO_FCALL                                      0  $0      
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

Function isbeng:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fkcX6
function name:  isBeng
number of ops:  12
compiled vars:  !0 = $pow
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'pow'
          1        SEND_VAL                                                 2
          2        INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'w'
          4        DO_ICALL                                         $1      
          5        SEND_VAR                                                 $1
          6        DO_ICALL                                         $2      
          7        ASSIGN                                                   !0, $2
   11     8        BW_AND                                           ~4      !0, 97
          9        IS_EQUAL                                         ~5      !0, ~4
         10      > RETURN                                                   ~5
   12    11*     > RETURN                                                   null

End of function isbeng

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.87 ms | 1397 KiB | 20 Q