3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.97 ms | 1395 KiB | 17 Q