3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test($a, Env $b = null) { echo $a, "\n"; }; test('pouet'); test('pouet 2', 'wrong');

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/G00FL
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'test'
          1        SEND_VAL                                                 'pouet'
          2        DO_FCALL                                      0          
    5     3        INIT_FCALL                                               'test'
          4        SEND_VAL                                                 'pouet+2'
          5        SEND_VAL                                                 'wrong'
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G00FL
function name:  test
number of ops:  5
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      null
          2        ECHO                                                     !0
          3        ECHO                                                     '%0A'
          4      > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.33 ms | 1397 KiB | 15 Q