3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo time()."\n"; echo substr((string)time(), 0, -5);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rH9Pe
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $0      
          2        CONCAT                                           ~1      $0, '%0A'
          3        ECHO                                                     ~1
    3     4        INIT_FCALL                                               'substr'
          5        INIT_FCALL                                               'time'
          6        DO_ICALL                                         $2      
          7        CAST                                          6  ~3      $2
          8        SEND_VAL                                                 ~3
          9        SEND_VAL                                                 0
         10        SEND_VAL                                                 -5
         11        DO_ICALL                                         $4      
         12        ECHO                                                     $4
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.77 ms | 1394 KiB | 17 Q