2011/11/29 Yasuo Ohgaki <yohg...@ohgaki.net>: > Hi Karoly, > > 2011/10/12 Karoly Negyesi <kar...@negyesi.net>: >> Setting session.cache_limiter to an empty string doesn't send headers. >> Is this just an artefact of if (!strcasecmp(lim->name, >> PS(cache_limiter))) not matching the empty string or does if >> (PS(cache_limiter)[0] == '\0') return 0; deliberately stop it? >> >> Ie. what should I add to the documentation for people who don't want >> PHP to send anything? > > If I remember correctly, old doc was referred as "none". Any invalid > cache limiter name will be ignored, though. > > It may be good idea to raise notice error for invalid limiter name and > introduce "none" limiter. > > Any comments? >
Hi Karoly, Failing silently in case of typo is not good. Could you file feature request to bugs.php.net? I'll make patch for trunk and commit it unless there is objection. Regards, -- Yasuo Ohgaki yohg...@ohgaki.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php