3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = "Wanda"; print "W"+"anda"; print $name === "W"+"anda"; print $name == "W"+"anda"; print $name != False && $name != True; print $name !== False && $name !== True;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
2 jumps found. (Code = 46) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
Branch analysis from position: 13
filename:       /in/Vmarg
function name:  (null)
number of ops:  20
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Wanda'
    3     1        ADD                                              ~2      'W', 'anda'
          2        ECHO                                                     ~2
    4     3        ADD                                              ~3      'W', 'anda'
          4        IS_IDENTICAL                                     ~4      !0, ~3
          5        ECHO                                                     ~4
    5     6        ADD                                              ~5      'W', 'anda'
          7        IS_EQUAL                                         ~6      !0, ~5
          8        ECHO                                                     ~6
    6     9        BOOL                                             ~7      !0
         10      > JMPZ_EX                                          ~7      ~7, ->13
         11    >   BOOL_NOT                                         ~8      !0
         12        BOOL                                             ~7      ~8
         13    >   ECHO                                                     ~7
    7    14        TYPE_CHECK                                  1018  ~9      !0
         15      > JMPZ_EX                                          ~9      ~9, ->18
         16    >   TYPE_CHECK                                  1014  ~10     !0
         17        BOOL                                             ~9      ~10
         18    >   ECHO                                                     ~9
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.77 ms | 1394 KiB | 13 Q