3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = mktime(0, 0, 0, date("m")+1, date("d"), date("Y")); /* Labels */ $monthlabel = date('Y', $now).'&month='.date('n', $now); /* Values */ $monthvalue = date("Y&month=n",$monthlabel); echo $monthlabel;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Yi3hP
function name:  (null)
number of ops:  37
compiled vars:  !0 = $now, !1 = $monthlabel, !2 = $monthvalue
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'mktime'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 0
          4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'm'
          6        DO_ICALL                                         $3      
          7        ADD                                              ~4      $3, 1
          8        SEND_VAL                                                 ~4
          9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'd'
         11        DO_ICALL                                         $5      
         12        SEND_VAR                                                 $5
         13        INIT_FCALL                                               'date'
         14        SEND_VAL                                                 'Y'
         15        DO_ICALL                                         $6      
         16        SEND_VAR                                                 $6
         17        DO_ICALL                                         $7      
         18        ASSIGN                                                   !0, $7
    6    19        INIT_FCALL                                               'date'
         20        SEND_VAL                                                 'Y'
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                         $9      
         23        CONCAT                                           ~10     $9, '%26month%3D'
         24        INIT_FCALL                                               'date'
         25        SEND_VAL                                                 'n'
         26        SEND_VAR                                                 !0
         27        DO_ICALL                                         $11     
         28        CONCAT                                           ~12     ~10, $11
         29        ASSIGN                                                   !1, ~12
   10    30        INIT_FCALL                                               'date'
         31        SEND_VAL                                                 'Y%26month%3Dn'
         32        SEND_VAR                                                 !1
         33        DO_ICALL                                         $14     
         34        ASSIGN                                                   !2, $14
   13    35        ECHO                                                     !1
         36      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.68 ms | 1388 KiB | 17 Q