Edit report at https://bugs.php.net/bug.php?id=10527&edit=1
ID: 10527 Comment by: skewl at gmail dot com Reported by: jnutzman at yahoo dot com Summary: Declare constant variables Status: Open Type: Feature/Change Request Package: Scripting Engine problem Operating System: * PHP Version: * Block user comment: N Private report: N New Comment: I don't know NaLinDa the TangJun speech organizers really going to give our students http://www.mbtukshop.co.uk/ how to cultivate the values Previous Comments: ------------------------------------------------------------------------ [2001-04-27 12:37:44] jnutzman at yahoo dot com PHP 4 doesn't seem to have the capability to define variables of all types as being constants. An example of this could be: $stuff = (const)array('1','2'); or $stuff = const($stuff); An error would be generated if the script later tried to: $stuff = array('3','2'); This is *not* the same as CONSTANTS like TRUE and FALSE. This would be extremely useful with sessions, so other programmers don't clobber important session variables that shouldn't change. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=10527&edit=1
