3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.24 ms | 1394 KiB | 15 Q