3v4l.org

run code in 300+ PHP versions simultaneously
<?php $naam = "Pieter Vermeer"; $geboortedatum = '18-05-1964'; $exp = explode('-',$geboortedatum); echo $naam." (".berekenLeeftijd($exp[2].'-'.$exp[1].'-'.$exp[0]).")"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FqebG
function name:  (null)
number of ops:  22
compiled vars:  !0 = $naam, !1 = $geboortedatum, !2 = $exp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Pieter+Vermeer'
    3     1        ASSIGN                                                   !1, '18-05-1964'
    4     2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '-'
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !2, $5
    5     7        CONCAT                                           ~7      !0, '+%28'
          8        INIT_FCALL_BY_NAME                                       'berekenLeeftijd'
          9        FETCH_DIM_R                                      ~8      !2, 2
         10        CONCAT                                           ~9      ~8, '-'
         11        FETCH_DIM_R                                      ~10     !2, 1
         12        CONCAT                                           ~11     ~9, ~10
         13        CONCAT                                           ~12     ~11, '-'
         14        FETCH_DIM_R                                      ~13     !2, 0
         15        CONCAT                                           ~14     ~12, ~13
         16        SEND_VAL_EX                                              ~14
         17        DO_FCALL                                      0  $15     
         18        CONCAT                                           ~16     ~7, $15
         19        CONCAT                                           ~17     ~16, '%29'
         20        ECHO                                                     ~17
    6    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.22 ms | 1395 KiB | 15 Q