b0y-101 Mini Shell


Current Path : E:/www/b-group.old/spfin - Copy/testpayment/src/xdebug/tests/develop/
File Upload :
Current File : E:/www/b-group.old/spfin - Copy/testpayment/src/xdebug/tests/develop/bug01245.phpt

--TEST--
Test for bug #1245: xdebug_dump_superglobals dumps *uninitialized* with PHP 7
--INI--
xdebug.mode=develop
html_errors=0
xdebug.dump.GET=*
xdebug.dump.POST=*
--GET--
getFoo=bar
--POST--
postBar=baz
--FILE--
<?php
trigger_error("TEST");
?>
--EXPECTF--
Notice: TEST in %sbug01245.php on line 2

Call Stack:
%w%f %w%d   1. {main}() %sbug01245.php:0
%w%f %w%d   2. trigger_error($message = 'TEST') %sbug01245.php:2

Dump $_GET
   $_GET['getFoo'] = 'bar'
Dump $_POST
   $_POST['postBar'] = 'baz'

Copyright © 2019 by b0y-101