3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "asd"; $b = "3"; $c = "d3"; intval($a); intval($b); intval($c); if ($a) { echo "a\n"; } if ($b) { echo "b\n"; } if ($c) { echo "c\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 13
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 15
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
Branch analysis from position: 13
Branch analysis from position: 11
filename:       /in/3Cc77
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'asd'
    4     1        ASSIGN                                                   !1, '3'
    5     2        ASSIGN                                                   !2, 'd3'
    7     3        CAST                                          4  ~6      !0
          4        FREE                                                     ~6
    8     5        CAST                                          4  ~7      !1
          6        FREE                                                     ~7
    9     7        CAST                                          4  ~8      !2
          8        FREE                                                     ~8
   11     9      > JMPZ                                                     !0, ->11
   12    10    >   ECHO                                                     'a%0A'
   15    11    > > JMPZ                                                     !1, ->13
   16    12    >   ECHO                                                     'b%0A'
   19    13    > > JMPZ                                                     !2, ->15
   20    14    >   ECHO                                                     'c%0A'
   21    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.62 ms | 1394 KiB | 13 Q