3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = array ( 4 , 1 , $a , 1 , 1.500000 , 7 , false , 'x' , 'x' , 500 ) ; foreach ( $a as $b ) str_replace ( $GLOBALS , $a , $a ) ;

Abusive script

This script was stopped while abusing our resources

Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 18
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 18
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/2vhhJ
function name:  (null)
number of ops:  20
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_ARRAY                                           ~2      4
          1        ADD_ARRAY_ELEMENT                                    ~2      1
          2        ADD_ARRAY_ELEMENT                                    ~2      !0
          3        ADD_ARRAY_ELEMENT                                    ~2      1
          4        ADD_ARRAY_ELEMENT                                    ~2      1.5
          5        ADD_ARRAY_ELEMENT                                    ~2      7
          6        ADD_ARRAY_ELEMENT                                    ~2      <false>
          7        ADD_ARRAY_ELEMENT                                    ~2      'x'
          8        ADD_ARRAY_ELEMENT                                    ~2      'x'
          9        ADD_ARRAY_ELEMENT                                    ~2      500
         10        ASSIGN                                                       !0, ~2
    3    11      > FE_RESET_R                                           $4      !0, ->18
         12    > > FE_FETCH_R                                                   $4, !1, ->18
         13    >   FETCH_GLOBALS                                        ~5      
         14        FRAMELESS_ICALL_3                str_replace         ~6      ~5, !0
         15        OP_DATA                                                      !0
         16        FREE                                                         ~6
         17      > JMP                                                          ->12
         18    >   FE_FREE                                                      $4
         19      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
245.67 ms | 7567 KiB | 13 Q