3v4l.org

run code in 500+ PHP versions simultaneously
<?php declare(strict_types=1); function test(string $t = null) { var_dump($t); } test(null); var_dump(\DateTimeZone::listIdentifiers(\DateTimeZone::ALL, null));

Abusive script

This script was stopped while abusing our resources

Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BlnZG
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                                   'test'
          1        SEND_VAL                                                     null
          2        DO_FCALL                                          0          
   12     3        INIT_FCALL                                                   'var_dump'
          4        INIT_STATIC_METHOD_CALL                                      'DateTimeZone', 'listIdentifiers'
          5        SEND_VAL                                                     2047
          6        SEND_VAL                                                     null
          7        DO_FCALL                                          0  $1      
          8        SEND_VAR                                                     $1
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

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

End of function test

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
192.38 ms | 7273 KiB | 15 Q