3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d h:i:s <br>', 1); echo date('Y-m-d h:i:s <br>', '1'); echo date('Y-m-d h:i:s <br>', -1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mrPkZ
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y-m-d+h%3Ai%3As+%3Cbr%3E'
          2        SEND_VAL                                                 1
          3        DO_ICALL                                         $0      
          4        ECHO                                                     $0
    3     5        INIT_FCALL                                               'date'
          6        SEND_VAL                                                 'Y-m-d+h%3Ai%3As+%3Cbr%3E'
          7        SEND_VAL                                                 '1'
          8        DO_ICALL                                         $1      
          9        ECHO                                                     $1
    4    10        INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'Y-m-d+h%3Ai%3As+%3Cbr%3E'
         12        SEND_VAL                                                 -1
         13        DO_ICALL                                         $2      
         14        ECHO                                                     $2
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.91 ms | 1394 KiB | 15 Q