In regard to reported issue

0 views
Skip to first unread message

Xander

unread,
Sep 12, 2009, 3:06:42 PM9/12/09
to php-outline
The body of the message became too long, which is why I post my reply
here :).

The absence of the referred function on line 208 was why I was
"startled". Line 208 didn't give anything useful to aim at :). I
haven't gotten too much into it yet. The whole templating is pretty
new to me, since I don't mind combining PHP and Design. However I've
gotten requests for my CMS for an easier templating system, which made
me end-up with your script (I appreciate the focus/goal). I want to
give users the options to still use all PHP functions and apply
different templates to certain pages. And for that your script seems
very suitable :). So I started with the caching only example and will
try to see how easy it is to transform my current out-of-the box
template.

Still playing, but any ideas are very much welcome :). In case you
haven't clicked my username yet to see what project I'm talking about:
www.compactcms.nl.

In regard to the framework: I've heard good things about Yii, but I'm
really into basic programming. Never got around to learning RoR
neither, because of the command line programming. But I might give it
a try one day...

mindplay.dk

unread,
Sep 12, 2009, 9:38:28 PM9/12/09
to php-outline
You mentioned in your bug report that you replaced all &$ in function
calls with $ ... you should know that only this one function call
actually uses call-time pass-by-reference, the other calls use arrays
with references inside them, and this is intentional - "fixing" those
could actually break engine functionality. I searched the codebase for
&$ and there were no other call-time pass-by-reference calls that I
could spot.

It's really not even a bug, as it works just fine either way ... it's
an E_STRICT, so really mostly a matter of aesthetics ;-)
Reply all
Reply to author
Forward
0 new messages