3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '37,40,42,46,49,54,56,57'; parse_str(str_replace(',', '&array[]=', ','.$str), $array); extract($array); print_r($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ov33P
function name:  (null)
number of ops:  18
compiled vars:  !0 = $str, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '37%2C40%2C42%2C46%2C49%2C54%2C56%2C57'
    4     1        INIT_FCALL                                               'parse_str'
          2        INIT_FCALL                                               'str_replace'
          3        SEND_VAL                                                 '%2C'
          4        SEND_VAL                                                 '%26array%5B%5D%3D'
          5        CONCAT                                           ~3      '%2C', !0
          6        SEND_VAL                                                 ~3
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        SEND_REF                                                 !1
         10        DO_ICALL                                                 
         11        INIT_FCALL                                               'extract'
         12        SEND_REF                                                 !1
         13        DO_ICALL                                                 
    6    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.88 ms | 1394 KiB | 21 Q