Re: [PHP] Classes and Functions

2009-11-02 Thread Martin Scotta
On Sun, Nov 1, 2009 at 6:46 PM, Larry Garfield wrote: > On Sunday 01 November 2009 2:50:55 pm Daniel Kolbo wrote: > > Hello, > > > > Is there a way to see what objects and functions a script > > loaded/required/used? > > > > I could recursively loop through the globals, but if objects were unset,

Re: [PHP] Classes and Functions

2009-11-01 Thread Larry Garfield
On Sunday 01 November 2009 2:50:55 pm Daniel Kolbo wrote: > Hello, > > Is there a way to see what objects and functions a script > loaded/required/used? > > I could recursively loop through the globals, but if objects were unset, > then i may miss some. > > I could make a 'tracking' object and ever

Re: [PHP] Classes and Functions

2009-11-01 Thread Mathieu Rochette
On Sun, Nov 1, 2009 at 9:50 PM, Daniel Kolbo wrote: > Hello, > > Is there a way to see what objects and functions a script > loaded/required/used? > I don't think it's possible to that in PHP code. > > I could recursively loop through the globals, but if objects were unset, > then i may miss som

Re: [PHP] Classes and Functions and If's (Problems Again)

2005-11-03 Thread Robin Vickery
On 11/4/05, Unknown Unknown <[EMAIL PROTECTED]> wrote: > Hi everyone, i have some code that proccesses a login form. i have an object > $DB which works only in SOME areas, this is the code: > [...] > $DB="membersp"; > $SQL="SELECT ID FROM membersonline WHERE ID='$ID' "; > $DB->Query($SQL); [...] >

Re: [PHP] Classes and Functions and If's (Problems Again)

2005-11-03 Thread Jasper Bryant-Greene
On Thu, 2005-11-03 at 18:37 -0500, Unknown Unknown wrote: > Hi everyone, i have some code that proccesses a login form. i have an object > $DB which works only in SOME areas, this is the code: > > require_once("Include.php"); > global $DB; There is no need to global $DB here. You are already in

RE: [PHP] Classes and Functions

2005-11-03 Thread Shaw, Chris - Accenture
STFW >-Original Message- >From: Unknown Unknown [mailto:[EMAIL PROTECTED] >Sent: 03 November 2005 00:05 >To: Jasper Bryant-Greene >Cc: php-general@lists.php.net >Subject: Re: [PHP] Classes and Functions > > >Oh thanks agai

Re: [PHP] Classes and Functions

2005-11-03 Thread Jochem Maas
Robert Cummings wrote: On Thu, 2005-11-03 at 12:15, Jasper Bryant-Greene wrote: On Wed, 2005-11-02 at 19:05 -0500, Unknown Unknown wrote: Oh thanks again and what does RTFM mean? Read The [insert your favourite word beginning with F here] Manual. "Fondu"?? *licks lips* you missed an '

Re: [PHP] Classes and Functions

2005-11-02 Thread Robert Cummings
On Thu, 2005-11-03 at 12:15, Jasper Bryant-Greene wrote: > On Wed, 2005-11-02 at 19:05 -0500, Unknown Unknown wrote: > > Oh thanks again > > and what does RTFM mean? > > Read The [insert your favourite word beginning with F here] Manual. "Fondu"?? *licks lips* Cheers, Rob. -- .

Re: [PHP] Classes and Functions

2005-11-02 Thread Jasper Bryant-Greene
On Wed, 2005-11-02 at 19:05 -0500, Unknown Unknown wrote: > Oh thanks again > and what does RTFM mean? Read The [insert your favourite word beginning with F here] Manual. -- Jasper Bryant-Greene General Manager Album Limited e: [EMAIL PROTECTED] w: http://www.album.co.nz/ b: http://jbg.name/ p:

Re: [PHP] Classes and Functions

2005-11-02 Thread Unknown Unknown
Oh thanks again and what does RTFM mean?

Re: [PHP] Classes and Functions

2005-11-02 Thread Unknown Unknown
A thanks, i tried that before didn't seem to work, now it works Thanks again!

Re: [PHP] Classes and Functions

2005-11-02 Thread Manish Marathe
On 11/2/05, Unknown Unknown <[EMAIL PROTECTED]> wrote: > > Hi everybody i have a class that i reference with: > $DB= new DBInterface; > outside a function it works fine, but using $DB inside a function changes > the data type i think... i get an error saying i'm using a method on a > non-object...

Re: [PHP] Classes and Functions

2005-11-02 Thread Jasper Bryant-Greene
On Wed, 2005-11-02 at 18:56 -0500, Unknown Unknown wrote: > Hi everybody i have a class that i reference with: > $DB= new DBInterface; > outside a function it works fine, but using $DB inside a function changes > the data type i think... i get an error saying i'm using a method on a > non-object...

Re: [PHP] Classes and Functions

2004-12-12 Thread Rory Browne
your question is hard to answer. The difference between classes and functions is like the difference between a toolbox, and a spanner. A class is a container, that contains functions, and variables, or as they are called in Object-Oriented-Speak(methods, and properties). A method is a function tha

Re: [PHP] Classes and Functions

2004-12-11 Thread Robby Russell
On Sat, 2004-12-11 at 13:03 -0500, R. Van Tassel wrote: > Can someone give me a distinction between the two and when to use / not use > them? > > > > I want to thank everyone who replied about my"For" loop question. All the > answers were VERY helpful! Thanks very much. You might want to pick

Re: [PHP] classes and functions in include files

2003-02-27 Thread 1LT John W. Holmes
> just a fast question here.. and the lotic probably isnt to bright on my part > and i think i know the answer to this question too but just to make sure... > if you can include variables in an include file and use them outside that > file (in the file that includes that file that is) then can you

Re: [PHP] Classes and functions

2001-11-28 Thread Andrey Hristov
There is something like RFC on this URL :http://www.zend.com/engine2/ZendEngine-2.0.pdf What is supposed to be new in Zend Engine 2.0 . private members, and other things. But now everything is public. Why? Because every variable in PHP is zval (zend value).PHP is built on the top of Zend using Ze