Re: [PHP-DEV] default properties (in c)

2002-10-09 Thread Tim Daly, Jr.
Brad LaFountain <[EMAIL PROTECTED]> writes: > Ok, > > I don't think default_properties is what you are looking for. > default_properties store the information about defined variables and their > default value. Like this: > class MyClass { > var $test = "mytest"; > } > at compile time MyClass cl

Re: [PHP-DEV] default properties (in c)

2002-10-09 Thread Brad LaFountain
Ok, I don't think default_properties is what you are looking for. default_properties store the information about defined variables and their default value. Like this: class MyClass { var $test = "mytest"; } at compile time MyClass class_entry will have "test" => "mytest" in its default propertie

Re: [PHP-DEV] default properties (in c)

2002-10-08 Thread Derick Rethans
On 8 Oct 2002, Tim Daly, Jr. wrote: > > Brad LaFountain <[EMAIL PROTECTED]> writes: > > > What engine are you working with 1 or 2? > > -brad > > I imagine PHP3 == engine 1, and PHP4 == engine 2? PHP 3 is engine 0.5, PHP 4 is engine 1 and PHP 5 will be engine 2 :) So you're most likely using

Re: [PHP-DEV] default properties (in c)

2002-10-08 Thread Timm Friebe
On Tue, 2002-10-08 at 23:15, Tim Daly, Jr. wrote: > > Brad LaFountain <[EMAIL PROTECTED]> writes: > > > What engine are you working with 1 or 2? > > -brad > > I imagine PHP3 == engine 1, and PHP4 == engine 2? > > I'm using PHP version 4.2.3. Almost: PHP4 = ZE1, PHP5 = ZE2 :-) -- Timm --

Re: [PHP-DEV] default properties (in c)

2002-10-08 Thread Tim Daly, Jr.
Brad LaFountain <[EMAIL PROTECTED]> writes: > What engine are you working with 1 or 2? > -brad I imagine PHP3 == engine 1, and PHP4 == engine 2? I'm using PHP version 4.2.3. -Tim -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] default properties (in c)

2002-10-08 Thread Brad LaFountain
What engine are you working with 1 or 2? -brad --- "Tim Daly, Jr." <[EMAIL PROTECTED]> wrote: > > Hi everybody. I'm working on an extension that creates classes, and I > want to add class variables to the classes. It looks like, > internally, class variables are stored in the > zend_class_entry

[PHP-DEV] default properties (in c)

2002-10-08 Thread Tim Daly, Jr.
Hi everybody. I'm working on an extension that creates classes, and I want to add class variables to the classes. It looks like, internally, class variables are stored in the zend_class_entry.default_properties hash. Manipulating this hash has the effect desired, however I seem to have misunde