3v4l.org

run code in 300+ PHP versions simultaneously
<?php $passedInfoTwo = "0"; var_export(strlen(trim($passedInfoTwo)) < 1); echo "\n"; var_export(!trim($passedInfoTwo));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tQm31
function name:  (null)
number of ops:  18
compiled vars:  !0 = $passedInfoTwo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '0'
    5     1        INIT_FCALL                                               'var_export'
          2        INIT_FCALL                                               'trim'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        STRLEN                                           ~3      $2
          6        IS_SMALLER                                       ~4      ~3, 1
          7        SEND_VAL                                                 ~4
          8        DO_ICALL                                                 
    6     9        ECHO                                                     '%0A'
    7    10        INIT_FCALL                                               'var_export'
         11        INIT_FCALL                                               'trim'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $6      
         14        BOOL_NOT                                         ~7      $6
         15        SEND_VAL                                                 ~7
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.19 ms | 998 KiB | 15 Q