3v4l.org

run code in 500+ PHP versions simultaneously
<?php $input = '[{"s-file[]":"Prueba 3"},{"text_file[]":"ORT0000133.pdf"},{"idform":"f-gen-desk"},{"idprocess":"p-save"}]'; var_dump(json_decode($input));
Output for 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.34, 8.2.0 - 8.2.30, 8.3.0 - 8.3.30, 8.4.1 - 8.4.18, 8.5.0 - 8.5.3
array(4) { [0]=> object(stdClass)#1 (1) { ["s-file[]"]=> string(8) "Prueba 3" } [1]=> object(stdClass)#2 (1) { ["text_file[]"]=> string(14) "ORT0000133.pdf" } [2]=> object(stdClass)#3 (1) { ["idform"]=> string(10) "f-gen-desk" } [3]=> object(stdClass)#4 (1) { ["idprocess"]=> string(6) "p-save" } }

preferences:
116.17 ms | 1474 KiB | 4 Q