3v4l.org

run code in 500+ PHP versions simultaneously
<?php $anun = "Ani"; $cnndyan_tiv = "2005-09-15"; $ser = "axchik"; $today_md = date('m-d'); $bday_md = date('m-d', strtotime($cnndyan_tiv)); if ($today_md === $bday_md) { echo "<h1>Happy Birthday, $anun! 🎉</h1>"; if ($ser === "txa") { echo '<div style="font-size: 80px;">🏎️</div>'; echo '<img src="https://cdn-icons-png.flaticon.com/512/744/744465.png" alt="Car" width="200">'; } elseif ($ser === "axchik") { echo '<div style="font-size: 80px;">💐</div>'; echo '<img src="https://cdn-icons-png.flaticon.com/512/628/628324.png" alt="Flowers" width="200">'; } } else { echo "<p>Այսօր $anun-ի ծննդյան օրը չէ։</p>"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 31
Branch analysis from position: 17
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 26
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
1 jumps found. (Code = 42) Position 1 = 35
Branch analysis from position: 35
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
2 jumps found. (Code = 43) Position 1 = 28, Position 2 = 30
Branch analysis from position: 28
1 jumps found. (Code = 42) Position 1 = 35
Branch analysis from position: 35
Branch analysis from position: 30
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EhKv3
function name:  (null)
number of ops:  36
compiled vars:  !0 = $anun, !1 = $cnndyan_tiv, !2 = $ser, !3 = $today_md, !4 = $bday_md
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, 'Ani'
    3     1        ASSIGN                                                       !1, '2005-09-15'
    4     2        ASSIGN                                                       !2, 'axchik'
    6     3        INIT_FCALL                                                   'date'
          4        SEND_VAL                                                     'm-d'
          5        DO_ICALL                                             $8      
          6        ASSIGN                                                       !3, $8
    7     7        INIT_FCALL                                                   'date'
          8        SEND_VAL                                                     'm-d'
          9        INIT_FCALL                                                   'strtotime'
         10        SEND_VAR                                                     !1
         11        DO_ICALL                                             $10     
         12        SEND_VAR                                                     $10
         13        DO_ICALL                                             $11     
         14        ASSIGN                                                       !4, $11
    9    15        IS_IDENTICAL                                                 !3, !4
         16      > JMPZ                                                         ~13, ->31
   10    17    >   ROPE_INIT                                         3  ~15     '%3Ch1%3EHappy+Birthday%2C+'
         18        ROPE_ADD                                          1  ~15     ~15, !0
         19        ROPE_END                                          2  ~14     ~15, '%21+%F0%9F%8E%89%3C%2Fh1%3E'
         20        ECHO                                                         ~14
   12    21        IS_IDENTICAL                                                 !2, 'txa'
         22      > JMPZ                                                         ~17, ->26
   13    23    >   ECHO                                                         '%3Cdiv+style%3D%22font-size%3A+80px%3B%22%3E%F0%9F%8F%8E%EF%B8%8F%3C%2Fdiv%3E'
   14    24        ECHO                                                         '%3Cimg+src%3D%22https%3A%2F%2Fcdn-icons-png.flaticon.com%2F512%2F744%2F744465.png%22+alt%3D%22Car%22+width%3D%22200%22%3E'
   12    25      > JMP                                                          ->30
   15    26    >   IS_IDENTICAL                                                 !2, 'axchik'
         27      > JMPZ                                                         ~18, ->30
   16    28    >   ECHO                                                         '%3Cdiv+style%3D%22font-size%3A+80px%3B%22%3E%F0%9F%92%90%3C%2Fdiv%3E'
   17    29        ECHO                                                         '%3Cimg+src%3D%22https%3A%2F%2Fcdn-icons-png.flaticon.com%2F512%2F628%2F628324.png%22+alt%3D%22Flowers%22+width%3D%22200%22%3E'
    9    30    > > JMP                                                          ->35
   20    31    >   ROPE_INIT                                         3  ~20     '%3Cp%3E%D4%B1%D5%B5%D5%BD%D6%85%D6%80+'
         32        ROPE_ADD                                          1  ~20     ~20, !0
         33        ROPE_END                                          2  ~19     ~20, '-%D5%AB+%D5%AE%D5%B6%D5%B6%D5%A4%D5%B5%D5%A1%D5%B6+%D6%85%D6%80%D5%A8+%D5%B9%D5%A7%D6%89%3C%2Fp%3E'
         34        ECHO                                                         ~19
   22    35    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
152.7 ms | 807 KiB | 10 Q