3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.94 ms | 1385 KiB | 15 Q