3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo json_encode(array('ReportStartDate' => date('c', strtime('04/10/2013 06:57 am')),'ReportEndDate' => date('c', strtotime('04/30/2013 06:57 am'))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/S3Lj4
function name:  (null)
number of ops:  21
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'json_encode'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'c'
          3        INIT_FCALL_BY_NAME                                       'strtime'
          4        SEND_VAL_EX                                              '04%2F10%2F2013+06%3A57+am'
          5        DO_FCALL                                      0  $0      
          6        SEND_VAR                                                 $0
          7        DO_ICALL                                         $1      
          8        INIT_ARRAY                                       ~2      $1, 'ReportStartDate'
          9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'c'
         11        INIT_FCALL                                               'strtotime'
         12        SEND_VAL                                                 '04%2F30%2F2013+06%3A57+am'
         13        DO_ICALL                                         $3      
         14        SEND_VAR                                                 $3
         15        DO_ICALL                                         $4      
         16        ADD_ARRAY_ELEMENT                                ~2      $4, 'ReportEndDate'
         17        SEND_VAL                                                 ~2
         18        DO_ICALL                                         $5      
         19        ECHO                                                     $5
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.97 ms | 1395 KiB | 19 Q