3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timeNextMonth = strtotime('next month',strtotime(date('m/01/y'))); $nbDaysToNextMonth = (($timeNextMonth - strtotime(date('Y-m-d'))) / 86400);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bRSBt
function name:  (null)
number of ops:  21
compiled vars:  !0 = $timeNextMonth, !1 = $nbDaysToNextMonth
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'next+month'
          2        INIT_FCALL                                               'strtotime'
          3        INIT_FCALL                                               'date'
          4        SEND_VAL                                                 'm%2F01%2Fy'
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !0, $4
    3    11        INIT_FCALL                                               'strtotime'
         12        INIT_FCALL                                               'date'
         13        SEND_VAL                                                 'Y-m-d'
         14        DO_ICALL                                         $6      
         15        SEND_VAR                                                 $6
         16        DO_ICALL                                         $7      
         17        SUB                                              ~8      !0, $7
         18        DIV                                              ~9      ~8, 86400
         19        ASSIGN                                                   !1, ~9
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.98 ms | 1395 KiB | 17 Q