3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sec = 1; $getcurrentDate = date("Y-m-d H:i:s", gmmktime() +18000); $finaldate = strtotime ( '+'.$sec.' second', strtotime ($getcurrentDate)) ; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ckfT9
function name:  (null)
number of ops:  20
compiled vars:  !0 = $sec, !1 = $getcurrentDate, !2 = $finaldate
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          3        INIT_FCALL                                               'gmmktime'
          4        DO_ICALL                                         $4      
          5        ADD                                              ~5      $4, 18000
          6        SEND_VAL                                                 ~5
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !1, $6
    4     9        INIT_FCALL                                               'strtotime'
         10        CONCAT                                           ~8      '%2B', !0
         11        CONCAT                                           ~9      ~8, '+second'
         12        SEND_VAL                                                 ~9
         13        INIT_FCALL                                               'strtotime'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                         $10     
         16        SEND_VAR                                                 $10
         17        DO_ICALL                                         $11     
         18        ASSIGN                                                   !2, $11
    5    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.88 ms | 1395 KiB | 19 Q