3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date("d-m-Y H:i:s", strtotime('31st March')).PHP_EOL; echo date("d-m-Y H:i:s", strtotime('+1 month', strtotime('31st March')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X3O6t
function name:  (null)
number of ops:  22
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'd-m-Y+H%3Ai%3As'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 '31st+March'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $1      
          7        CONCAT                                           ~2      $1, '%0A'
          8        ECHO                                                     ~2
    4     9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'd-m-Y+H%3Ai%3As'
         11        INIT_FCALL                                               'strtotime'
         12        SEND_VAL                                                 '%2B1+month'
         13        INIT_FCALL                                               'strtotime'
         14        SEND_VAL                                                 '31st+March'
         15        DO_ICALL                                         $3      
         16        SEND_VAR                                                 $3
         17        DO_ICALL                                         $4      
         18        SEND_VAR                                                 $4
         19        DO_ICALL                                         $5      
         20        ECHO                                                     $5
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
232.77 ms | 1395 KiB | 17 Q