Re: [PHP-DEV] PHP5 Packages

2002-07-09 Thread Zeev Suraski
At 08:00 PM 7/9/2002, Melvyn Sopacua wrote: class foo { > //some code > require('class_bar.php'); >} > >Will that work? No, that won't work. Zeev -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP5 Packages

2002-07-09 Thread Melvyn Sopacua
At 17:19 9-7-2002, Zeev Suraski shared with all of us: >>How does this differ from: >>$this->db = new dbclient; > >It's completely different. It addresses scoping issues, and gives you the >same functionality as namespaces. For example: > >class foo { > class bar { > fu

Re: [PHP-DEV] PHP5 Packages

2002-07-09 Thread Andre Gildemeister
Zeev Suraski wrote: > Basically, the Zend Engine 2 will allow the use of nested classes. So, > classes will be able to contain other classes, as well as constants in > addition to variables and methods. They are not called > packages. Currently there aren't any new keywords for loading such

Re: [PHP-DEV] PHP5 Packages

2002-07-09 Thread Zeev Suraski
At 07:17 PM 7/9/2002, Melvyn Sopacua wrote: >At 17:05 9-7-2002, Zeev Suraski shared with all of us: > >>Basically, the Zend Engine 2 will allow the use of nested classes. So, >>classes will be able to contain other classes, as well as constants in >>addition to variables and methods. > >That's

Re: [PHP-DEV] PHP5 Packages

2002-07-09 Thread Melvyn Sopacua
At 17:05 9-7-2002, Zeev Suraski shared with all of us: >Basically, the Zend Engine 2 will allow the use of nested classes. So, >classes will be able to contain other classes, as well as constants in >addition to variables and methods. That's already possible isn't it? How does this differ fro

Re: [PHP-DEV] PHP5 Packages

2002-07-09 Thread Zeev Suraski
At 06:53 PM 7/9/2002, Andre Gildemeister wrote: >hi, > >in PHP5 it shall be possible to integrate own extensions (written in PHP), >called "Packages". a package consists of functions and classes, >encapsulated in >an namespace. to make the package-elements available in an program, the >package >