3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x='no'; var_dump(!(strtolower($x) === 'no')); var_dump((strtolower($x) === 'no'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lTnhE
function name:  (null)
number of ops:  17
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'no'
    3     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'strtolower'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        IS_IDENTICAL                                     ~3      $2, 'no'
          6        BOOL_NOT                                         ~4      ~3
          7        SEND_VAL                                                 ~4
          8        DO_ICALL                                                 
    4     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'strtolower'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $6      
         13        IS_IDENTICAL                                     ~7      $6, 'no'
         14        SEND_VAL                                                 ~7
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.3 ms | 1394 KiB | 17 Q