Doc #80622 [NEW]: Optional argument brackets
From: grzesiek at gbankowski dot pl
Operating system: irrelevant
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Optional argument brackets
Description:
------------
Dear PHP webmasters,
I'm writting to inform that, in all funcions disappeared brackets [] for
optional arguments. Why?
sscanf ( string $string , string $format , mixed &...$vars ) :
array|int|null
$vars is optional, but where are brackets?
Best regards
Grzegorz
Test script:
---------------
--
Edit bug report at https://bugs.php.net/bug.php?id=80622&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80622&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80622&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80622&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80622&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80622&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80622&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80622&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80622&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80622&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80622&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80622&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80622&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80622&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80622&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80622&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80622&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80622&r=mysqlcfg
Thread (9 messages)
- grzesiek at gbankowski dot pl