3v4l.org

run code in 500+ PHP versions simultaneously
<?php // http://gathering.tweakers.net/forum/list_messages/1663940 function doeMaarStrict(string $str = 'Hallo wereld!!!11') { var_dump($str); } function doeMaarStrictEmptyStringDefault(string $str = '') { var_dump($str); } doeMaarStrict(); doeMaarStrictEmptyStringDefault();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Kn9lE
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   15     0  E >   INIT_FCALL                                                   'doemaarstrict'
          1        DO_FCALL                                          0          
   16     2        INIT_FCALL                                                   'doemaarstrictemptystringdefault'
          3        DO_FCALL                                          0          
          4      > RETURN                                                       1

Function doemaarstrict:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Kn9lE
function name:  doeMaarStrict
number of ops:  5
compiled vars:  !0 = $str
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   RECV_INIT                                            !0      'Hallo+wereld%21%21%2111'
    7     1        INIT_FCALL                                                   'var_dump'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                                     
    8     4      > RETURN                                                       null

End of function doemaarstrict

Function doemaarstrictemptystringdefault:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Kn9lE
function name:  doeMaarStrictEmptyStringDefault
number of ops:  5
compiled vars:  !0 = $str
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   RECV_INIT                                            !0      ''
   12     1        INIT_FCALL                                                   'var_dump'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                                     
   13     4      > RETURN                                                       null

End of function doemaarstrictemptystringdefault

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
170.25 ms | 3297 KiB | 15 Q