On Wed, 9 Nov 2005, Pierangelo Masarati wrote:
On Wed, 2005-11-09 at 07:05 +0200, Jani Taskinen wrote:
The control-patch looks okay. But the warning-fix-patch really doesn't.
You're actually changing some functions behaviour with some of those
changes. Maybe you didn't notice
On Wed, 9 Nov 2005, Pierangelo Masarati wrote:
On Wed, 2005-11-09 at 07:05 +0200, Jani Taskinen wrote:
The control-patch looks okay. But the warning-fix-patch really
doesn't.
You're actually changing some functions behaviour with some of
those
changes. Maybe you didn't
hello jani,
thanks for the info. yeah, the feature requests shouldn't be considered bugs
but it's just what is in the mail.. :)
also, outside of lxr.php.net http://lxr.php.net, is there any place that
stores more readable documentation about the code?
regards,
On 11/9/05, Jani Taskinen [EMAIL
Maybe this is a question too simple for this list, but I am writing
my first php extension (using php 4.4 SDK) so please, be patient...
My extension (rsql) returns a custom struct to php so my code in my
rsql_connect looks like:
ZEND_FUNCTION(rsql_connect)
{
I believe that I've found a bug in the way that PHP handles
permission problems when accessing the main script.
If I access http://localhost/foo.php and PHP does not have permission
to read foo.php, I get an E_WARNING rather than an E_COMPILE_ERROR
(include vs. require). This is in PHP
This is intentional and I think it makes it much more fool-proof for
developers. Adding recursion protection can be very expensive and
complicated, and it doesn't seem to make sense here. The idea is that
once you're in the __get() method, you know exactly how your
properties are mapped and
Thies,
I think I might be wrong in my analysis. Seems like the problem is
worse than what I thought as it seems to cross boundaries between classes.
We'll look into it more.
Andi
At 02:15 PM 11/9/2005, Andi Gutmans wrote:
This is intentional and I think it makes it much more fool-proof for
The problem does not cross class boundaries. However, here are some
test cases to better illustrate the question:
?php
class Test {
function __get($offset) {
switch($offset) {
case 'hello1':
return 'there';
case 'hello2':
Hi,
Got a question on proper memory management within the engine.
I have an object that stores an Array (IS_ARRAY) as a property. Inside this
property array are other objects.
So heres my memory layout for an initialized object:
Object
Property = Array (refcount = 1)
Hello there,
Is there a specific web resource for known
SSRT's(Security risks) in PHP ??
Any pointers would be helpful.
Thanks,
Rajesh R
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Stefan's http://www.hardened-php.net/advisories.15.html might be what
you look at.
With regards
Kamesh Jayachandran
On Thu, 10 Nov 2005 10:02:55 +0530, R, Rajesh (STSD)
[EMAIL PROTECTED] said:
Hello there,
Is there a specific web resource for known
SSRT's(Security risks) in PHP ??
11 matches
Mail list logo