3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.19 ms | 1394 KiB | 17 Q