3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strmnth = "01-".date("Y"); $endmnth2 = date("m"); $stmnt = 1; $endmnth = "".date("m-Y"); echo $strmnth; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bijLg
function name:  (null)
number of ops:  17
compiled vars:  !0 = $strmnth, !1 = $endmnth2, !2 = $stmnt, !3 = $endmnth
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y'
          2        DO_ICALL                                         $4      
          3        CONCAT                                           ~5      '01-', $4
          4        ASSIGN                                                   !0, ~5
    3     5        INIT_FCALL                                               'date'
          6        SEND_VAL                                                 'm'
          7        DO_ICALL                                         $7      
          8        ASSIGN                                                   !1, $7
    5     9        ASSIGN                                                   !2, 1
    7    10        INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'm-Y'
         12        DO_ICALL                                         $10     
         13        CONCAT                                           ~11     '', $10
         14        ASSIGN                                                   !3, ~11
    9    15        ECHO                                                     !0
   11    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.1 ms | 1386 KiB | 15 Q