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] larue...@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] larue...@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

Reply via email to