Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
--TEST--
PHPC-544: Consult SIZEOF_ZEND_LONG for 64-bit integer support
--SKIPIF--
--FILE--
-2147483648],
['x' => 2147483647],
['x' => -4294967294],
['x' => 4294967294],
['x' => -4294967295],
['x' => 4294967295],
['x' => -9223372036854775807],
['x' => 9223372036854775807],
];
foreach ($tests as $test) {
$bson = MongoDB\BSON\fromPHP($test);
/* Note: Although libbson can parse the extended JSON representation for
* 64-bit integers (i.e. "$numberLong"), it currently prints them as
* doubles (see: https://jira.mongodb.org/browse/CDRIVER-375). */
printf("Test %s\n", MongoDB\BSON\toJSON($bson));
hex_dump($bson);
var_dump(MongoDB\BSON\toPHP($bson));
echo "\n";
}
?>
===DONE===
--EXPECTF--
Deprecated: Function MongoDB\BSON\fromPHP() is deprecated in %s
Deprecated: Function MongoDB\BSON\toJSON() is deprecated in %s
Test { "x" : -2147483648 }
0 : 0c 00 00 00 10 78 00 00 00 00 80 00 [.....x......]
Deprecated: Function MongoDB\BSON\toPHP() is deprecated in %s
object(stdClass)#%d (%d) {
["x"]=>
int(-2147483648)
}
Deprecated: Function MongoDB\BSON\fromPHP() is deprecated in %s
Deprecated: Function MongoDB\BSON\toJSON() is deprecated in %s
Test { "x" : 2147483647 }
0 : 0c 00 00 00 10 78 00 ff ff ff 7f 00 [.....x......]
Deprecated: Function MongoDB\BSON\toPHP() is deprecated in %s
object(stdClass)#%d (%d) {
["x"]=>
int(2147483647)
}
Deprecated: Function MongoDB\BSON\fromPHP() is deprecated in %s
Deprecated: Function MongoDB\BSON\toJSON() is deprecated in %s
Test { "x" : -4294967294 }
0 : 10 00 00 00 12 78 00 02 00 00 00 ff ff ff ff 00 [.....x..........]
Deprecated: Function MongoDB\BSON\toPHP() is deprecated in %s
object(stdClass)#%d (%d) {
["x"]=>
int(-4294967294)
}
Deprecated: Function MongoDB\BSON\fromPHP() is deprecated in %s
Deprecated: Function MongoDB\BSON\toJSON() is deprecated in %s
Test { "x" : 4294967294 }
0 : 10 00 00 00 12 78 00 fe ff ff ff 00 00 00 00 00 [.....x..........]
Deprecated: Function MongoDB\BSON\toPHP() is deprecated in %s
object(stdClass)#%d (%d) {
["x"]=>
int(4294967294)
}
Deprecated: Function MongoDB\BSON\fromPHP() is deprecated in %s
Deprecated: Function MongoDB\BSON\toJSON() is deprecated in %s
Test { "x" : -4294967295 }
0 : 10 00 00 00 12 78 00 01 00 00 00 ff ff ff ff 00 [.....x..........]
Deprecated: Function MongoDB\BSON\toPHP() is deprecated in %s
object(stdClass)#%d (%d) {
["x"]=>
int(-4294967295)
}
Deprecated: Function MongoDB\BSON\fromPHP() is deprecated in %s
Deprecated: Function MongoDB\BSON\toJSON() is deprecated in %s
Test { "x" : 4294967295 }
0 : 10 00 00 00 12 78 00 ff ff ff ff 00 00 00 00 00 [.....x..........]
Deprecated: Function MongoDB\BSON\toPHP() is deprecated in %s
object(stdClass)#%d (%d) {
["x"]=>
int(4294967295)
}
Deprecated: Function MongoDB\BSON\fromPHP() is deprecated in %s
Deprecated: Function MongoDB\BSON\toJSON() is deprecated in %s
Test { "x" : -9223372036854775807 }
0 : 10 00 00 00 12 78 00 01 00 00 00 00 00 00 80 00 [.....x..........]
Deprecated: Function MongoDB\BSON\toPHP() is deprecated in %s
object(stdClass)#%d (%d) {
["x"]=>
int(-9223372036854775807)
}
Deprecated: Function MongoDB\BSON\fromPHP() is deprecated in %s
Deprecated: Function MongoDB\BSON\toJSON() is deprecated in %s
Test { "x" : 9223372036854775807 }
0 : 10 00 00 00 12 78 00 ff ff ff ff ff ff ff 7f 00 [.....x..........]
Deprecated: Function MongoDB\BSON\toPHP() is deprecated in %s
object(stdClass)#%d (%d) {
["x"]=>
int(9223372036854775807)
}
===DONE===