1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 05:21:02 +02:00
Files
archived-php-src/ext/standard/tests/math/bindec_variation2.phpt
George Peter Banyard 589bdf30b2 Implement Explicit octal notation for integers RFC
RFC: https://wiki.php.net/rfc/explicit_octal_notation

Add an extensive test suits for other variants of integer literals

Closes GH-6360
2021-01-04 21:09:23 +01:00

15 lines
173 B
PHP

--TEST--
Test bindec() function : strange literals
--FILE--
<?php
var_dump(bindec('0b'));
var_dump(bindec('0B'));
var_dump(bindec(''));
?>
--EXPECT--
int(0)
int(0)
int(0)