3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getAmount() { $increment = 19000; return getTodayValue($increment); } function getUsers() { $increment = 514; return getTodayValue($increment); } function getTodayValue($inc) { $startDay = "2013-11-01"; $endDay = "2013-12-31"; echo(strtotime($startDay)); } getAmount();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a8W3g
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E >   INIT_FCALL                                               'getamount'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Function getamount:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a8W3g
function name:  getAmount
number of ops:  6
compiled vars:  !0 = $increment
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 19000
    6     1        INIT_FCALL_BY_NAME                                       'getTodayValue'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0  $2      
          4      > RETURN                                                   $2
    7     5*     > RETURN                                                   null

End of function getamount

Function getusers:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a8W3g
function name:  getUsers
number of ops:  6
compiled vars:  !0 = $increment
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   ASSIGN                                                   !0, 514
   12     1        INIT_FCALL_BY_NAME                                       'getTodayValue'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0  $2      
          4      > RETURN                                                   $2
   13     5*     > RETURN                                                   null

End of function getusers

Function gettodayvalue:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a8W3g
function name:  getTodayValue
number of ops:  8
compiled vars:  !0 = $inc, !1 = $startDay, !2 = $endDay
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   RECV                                             !0      
   16     1        ASSIGN                                                   !1, '2013-11-01'
   17     2        ASSIGN                                                   !2, '2013-12-31'
   18     3        INIT_FCALL                                               'strtotime'
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $5      
          6        ECHO                                                     $5
   19     7      > RETURN                                                   null

End of function gettodayvalue

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.63 ms | 1399 KiB | 16 Q