3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $_POST = [ 'image_caption' => null, 'image_ownership' => 1, 'nonce' => '1549923767|954046e4f33b599b910e2677b5937c1e' ]; print_r($_POST); $post = $_POST ?? []; print_r($post); $post['max_upload_size'] = 10; // We set this so ... print_r($post);
Output for hhvm-3.13.2 - 3.22.0, 7.1.25 - 7.3.2
Array ( [image_caption] => [image_ownership] => 1 [nonce] => 1549923767|954046e4f33b599b910e2677b5937c1e ) Array ( [image_caption] => [image_ownership] => 1 [nonce] => 1549923767|954046e4f33b599b910e2677b5937c1e ) Array ( [image_caption] => [image_ownership] => 1 [nonce] => 1549923767|954046e4f33b599b910e2677b5937c1e [max_upload_size] => 10 )