- Output for 5.5.24 - 5.5.32, 5.6.8 - 5.6.18, 7.0.0 - 7.0.3
- Parse error: syntax error, unexpected '$z' (T_VARIABLE) in /in/E4DCE on line 6
Process exited with code 255.
<?php
parse_str('price-entries[-1][price-entry-meal-id-custom-field]=538&price-entries[-1][price-entry-number-of-adults-custom-field]=1&price-entries[-1][price-entry-number-of-children-custom-field]=1&price-entries[-1][price-entry-child-max-age-custom-field]=&price-entries[-1][price-entry-season-id-custom-field]=534&price-entries[-1][price-entry-price-custom-field]=&price-entries[-1][price-entry-hotel-id-custom-field]=52670&price-entries[-1][price-entry-room-id-custom-field]=52692', $x);
parse_str('price-entries[-2][price-entry-meal-id-custom-field]=538&price-entries[-2][price-entry-number-of-adults-custom-field]=2&price-entries[-2][price-entry-number-of-children-custom-field]=&price-entries[-2][price-entry-child-max-age-custom-field]=&price-entries[-2][price-entry-season-id-custom-field]=534&price-entries[-2][price-entry-price-custom-field]=&price-entries[-2][price-entry-hotel-id-custom-field]=52670&price-entries[-2][price-entry-room-id-custom-field]=52692', $y)
$z = array_merge($x, $y);
var_dump($z);