|
List Info
Thread: Weird Issue (Slightly OT)
|
|
| Weird Issue (Slightly OT) |

|
2006-10-25 15:13:56 |
|
| Could it be php 5.0.x bug maybe?
Does Zend Platform use its own version of PHP, it could be
fixed in that version?
Keith
Wow,
I'm not a master PHP programmer, so this
confuses me.
This fails: public function
__get($key)
{
/** * todo
exception?
*/ if ($key[0] != '_')
{ return
isset($this->_vars[$key]) ? $this->_vars[$key] :
null; }
}
Yet this doesn't: public function __get($key)
{
/** * todo
exception?
*/ if ($key[0] != '_')
{
if(isset($this->_vars[$key]))
{
return
$this->_vars[$key];
}
else
{
return
null;
} } }
On 10/25/06, Lee
Saferite <gmail.com">lee.saferite gmail.com>
wrote:
Ok,
so I tried changing the __get method of the Zend_View_Abstract class to one I
found here: http://framework.zend.com/issues/browse/ZF-298 And not it
works.
So, could someone explain to me what is going on exactly? I
mean, the Zend_View_Abstract code works fine using Zend Platform, yet chokes
without it?
Lee.
On 10/25/06, Lee
Saferite <gmail.com"
target=_blank>lee.saferite gmail.com> wrote:
=)
Good call. Too much Cut and Paste. we DO use ZF on the
laptops.
And as an update, I have further isolated it to the
__get/__set functions having the issue.
Lee.
|
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|