3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = 'new_worksheet_name=TEST&new_worksheet_campaign=2&new_worksheet_recording_group=2&new_worksheet_vendors=1739&new_worksheet_publishers=1903&new_worksheet_agents=1768&new_worksheet_questions=&new_question_name_1=hello&new_question_text_1=disfbaspdfnopasdnf&new_question_weight_1=23&new_question_name_2=yo&new_question_text_2=44453jroj&new_question_weight_2=63&new_question_name_3=sup&new_question_text_3=45njfgndkfgnorgnoegn&new_question_weight_3=77'; $r = "/=.*&/"; $test_array = array(); parse_str($data, $test_array); var_dump($test_array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SsZve
function name:  (null)
number of ops:  11
compiled vars:  !0 = $data, !1 = $r, !2 = $test_array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'new_worksheet_name%3DTEST%26new_worksheet_campaign%3D2%26new_worksheet_recording_group%3D2%26new_worksheet_vendors%3D1739%26new_worksheet_publishers%3D1903%26new_worksheet_agents%3D1768%26new_worksheet_questions%3D%26new_question_name_1%3Dhello%26new_question_text_1%3Ddisfbaspdfnopasdnf%26new_question_weight_1%3D23%26new_question_name_2%3Dyo%26new_question_text_2%3D44453jroj%26new_question_weight_2%3D63%26new_question_name_3%3Dsup%26new_question_text_3%3D45njfgndkfgnorgnoegn%26new_question_weight_3%3D77'
    5     1        ASSIGN                                                   !1, '%2F%3D.%2A%26%2F'
    7     2        ASSIGN                                                   !2, <array>
    8     3        INIT_FCALL                                               'parse_str'
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !2
          6        DO_ICALL                                                 
   10     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.2 ms | 1394 KiB | 17 Q