3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Happy New Year $d=getdate(); if($d[year]=='2016'){ echo "Today Is-". $d[mday] ."-".$d[mon]."-".$d[year]; echo "<br>So wishing you a very happy new year "; } else { echo " Bhag Na Bhutni Ke squint emoticon Bada aaya "; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 21
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tqqJu
function name:  (null)
number of ops:  23
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'getdate'
          1        DO_ICALL                                         $1      
          2        ASSIGN                                                   !0, $1
    4     3        FETCH_CONSTANT                                   ~3      'year'
          4        FETCH_DIM_R                                      ~4      !0, ~3
          5        IS_EQUAL                                                 ~4, '2016'
          6      > JMPZ                                                     ~5, ->21
    5     7    >   FETCH_CONSTANT                                   ~6      'mday'
          8        FETCH_DIM_R                                      ~7      !0, ~6
          9        CONCAT                                           ~8      'Today+Is-', ~7
         10        CONCAT                                           ~9      ~8, '-'
         11        FETCH_CONSTANT                                   ~10     'mon'
         12        FETCH_DIM_R                                      ~11     !0, ~10
         13        CONCAT                                           ~12     ~9, ~11
         14        CONCAT                                           ~13     ~12, '-'
         15        FETCH_CONSTANT                                   ~14     'year'
         16        FETCH_DIM_R                                      ~15     !0, ~14
         17        CONCAT                                           ~16     ~13, ~15
         18        ECHO                                                     ~16
    6    19        ECHO                                                     '%3Cbr%3ESo+wishing+you+a+very+happy+new+year+'
         20      > JMP                                                      ->22
   10    21    >   ECHO                                                     '+Bhag+Na+Bhutni+Ke+squint+emoticon+Bada+aaya+'
   12    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.54 ms | 1395 KiB | 15 Q