3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nom = "doe"; $prenom = "john"; //echo $nom; //$nom = ucwords(strtolower($nom)); //echo $nom; $lknd = ""; if($lknd != NULL and $lknd != "") echo "OUI"; else echo "NON"; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/9g6gU
function name:  (null)
number of ops:  12
compiled vars:  !0 = $nom, !1 = $prenom, !2 = $lknd
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'doe'
    3     1        ASSIGN                                                   !1, 'john'
    9     2        ASSIGN                                                   !2, ''
   10     3        IS_NOT_EQUAL                                     ~6      !2, null
          4      > JMPZ_EX                                          ~6      ~6, ->7
          5    >   IS_NOT_EQUAL                                     ~7      !2, ''
          6        BOOL                                             ~6      ~7
          7    > > JMPZ                                                     ~6, ->10
   11     8    >   ECHO                                                     'OUI'
          9      > JMP                                                      ->11
   13    10    >   ECHO                                                     'NON'
   14    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.07 ms | 1384 KiB | 13 Q