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/bug01343-64bit.phpt

--TEST--
Test for bug #1343: Wrong values of numerical keys outside 32bit range
--SKIPIF--
<?php
require __DIR__ . '/../utils.inc';
check_reqs('64bit');
?>
--INI--
xdebug.mode=develop
html_errors=0
xdebug.filename_format=
--FILE--
<?php
$ar = array();
$id = (int)730022509303030;
$ar[$id] = "test";
var_dump($id, $ar);
?>
--EXPECTF--
%sbug01343-64bit.php:5:
int(730022509303030)
%sbug01343-64bit.php:5:
array(1) {
  [730022509303030] =>
  string(4) "test"
}

Copyright © 2019 by b0y-101