Bug #74094 [NEW]: Too strict checks when using CLI SAPI
From: yunosh
Operating system:
PHP version: master-Git-2017-02-13 (Git)
Package: Session related
Bug Type: Bug
Bug description:Too strict checks when using CLI SAPI
Description:
------------
When using the CLI SAPI, it doesn't make sense to implement the same
strict HTTP header checks like in webserver SAPIs IMO. There are no
headers sent in this case, so the error messages are at least
misleading.
As a consequence, it makes unit testing of session related code
impossible, because unit testing frameworks usually produce output
before even running a single test.
--
Edit bug report at https://bugs.php.net/bug.php?id=74094&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74094&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74094&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74094&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=74094&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=74094&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=74094&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=74094&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=74094&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=74094&r=support
Expected behavior: https://bugs.php.net/fix.php?id=74094&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=74094&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=74094&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=74094&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74094&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=74094&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=74094&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=74094&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74094&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=74094&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=74094&r=mysqlcfg
Thread (4 messages)
- yunosh@php.net