3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.73 ms | 1395 KiB | 19 Q