Doc #70353 [NEW]: predefined constant missing

From: Date: Tue, 25 Aug 2015 08:55:15 +0000
Subject: Doc #70353 [NEW]: predefined constant missing
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12651@lists.php.net to get a copy of this message
From: paulo dot castro48 at gmail dot com Operating system: WIN PHP version: 5.6.13RC1 Package: Documentation problem Bug Type: Documentation Problem Bug description:predefined constant missing Description: ------------ --- From manual page: http://www.php.net/reserved.constants --- There is no predefined slash that depends on OS this is a problem when working in both linux and windows you have to change the slashed everytime you switch servers. define('PHP_SLASH', ( preg_match( '/^WIN/', PHP_OS ) ) ? "\\" : "/" ); echo PHP_SLASH; -- Edit bug report at https://bugs.php.net/bug.php?id=70353&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70353&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70353&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70353&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70353&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70353&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70353&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70353&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70353&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70353&r=support Expected behavior: https://bugs.php.net/fix.php?id=70353&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70353&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70353&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70353&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70353&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70353&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70353&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70353&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70353&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70353&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70353&r=mysqlcfg

« previous php.doc.bugs (#12651) next »