[PHP] Errors Compiling with --enable-sockets (php-4.0.3pl1)

2001-01-17 Thread Stephen Maher
Hi, Does anyone know why I would get this error?? sockets.c: In function `php_minit_sockets': sockets.c:189: `MSG_WAITALL' undeclared (first use in this function) sockets.c:189: (Each undeclared identifier is reported only once sockets.c:189: for each function it appears in.) make[1]: *** [

[PHP] Making a object from one class available to all objects in the calling class

2001-02-05 Thread Stephen Maher
Hi, Can someone advise on the following. class class_y { function test() { return "test"; } } class class_x { function x { $n = new $y; } function z { $n->test(); } } I need the object of class_y available to t