3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = 0; $minutes = $_POST['minutes'] ?? "possibly a string"; $time = $time + $minutes; var_dump($time);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/F1a7u
function name:  (null)
number of ops:  12
compiled vars:  !0 = $time, !1 = $minutes
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        FETCH_IS                                         ~3      '_POST'
          2        FETCH_DIM_IS                                     ~4      ~3, 'minutes'
          3        COALESCE                                         ~5      ~4
          4        QM_ASSIGN                                        ~5      'possibly+a+string'
          5        ASSIGN                                                   !1, ~5
    4     6        ADD                                              ~7      !0, !1
          7        ASSIGN                                                   !0, ~7
    6     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.24 ms | 1009 KiB | 14 Q