Bug #55829 [Fbk->Opn]: impossible to define a variable S_ALL

From: Date: Sun, 02 Oct 2011 12:50:56 +0000
Subject: Bug #55829 [Fbk->Opn]: impossible to define a variable S_ALL
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-164024@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55829&edit=1 ID: 55829 User updated by: cizek dot milan at seznam dot cz Reported by: cizek dot milan at seznam dot cz Summary: impossible to define a variable S_ALL -Status: Feedback +Status: Open Type: Bug Package: Scripting Engine problem Operating System: FreeBSD 8.0-RELEASE PHP Version: 5.3.8 Block user comment: N Private report: N New Comment: When I assign any value to S_ALL, the value is always 511. Example script... <?php define (S_ALL,'Hi'); echo S_ALL; //511 define (S_ALL,'asd'); echo S_ALL; //511 ?> FreeBSD 8.0-RELEASE-p3 #0, with php5-5.3.8 Previous Comments: ------------------------------------------------------------------------ [2011-10-02 04:15:52] laruence@php.net what do you mean by impossible to define a S_ALL? <?php define ("S_ALL", "511"); echo S_ALL; ?> this works fine to me. ------------------------------------------------------------------------ [2011-10-02 04:15:42] laruence@php.net what do you mean by impossible to define a S_ALL? <?php define ("S_ALL", "511"); echo S_ALL; ?> this works fine to me. ------------------------------------------------------------------------ [2011-10-02 00:24:45] cizek dot milan at seznam dot cz Description: ------------ --- From manual page: http://www.php.net/function.define --- I searched in predefined S_ALL constants and variables, but I did not find anything. Test script: --------------- <?php define (S_ALL, 'All'); echo S_ALL; ?> Expected result: ---------------- 511 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55829&edit=1

« previous php.bugs (#164024) next »