From: Neil R. <Nei...@rc...> - 2008-01-28 03:10:08
|
I'm working my way through some sample code which uses a compiled-in package -- and the wheels come off at the first call to a function in the package. Is there a (simple) test to see if my packaged PHP executable has package x compiled in? Neil Rest -- Nei...@rc... http://users.rcn.com/neilrest/resume/NeilRest.htm |
From: Anacreo <an...@gm...> - 2008-01-28 17:18:37
|
You can use the function_exists or method_exists to see if these module's services are available... Hope that helps... Alec On Jan 27, 2008 9:09 PM, Neil Rest <Nei...@rc...> wrote: > I'm working my way through some sample code which uses a compiled-in > package -- and the wheels come off at the first call to a function in > the package. > > Is there a (simple) test to see if my packaged PHP executable has > package x compiled in? > > > > Neil Rest > -- > Nei...@rc... > http://users.rcn.com/neilrest/resume/NeilRest.htm > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > |
From: Nicholas S. <ni...@ya...> - 2008-01-28 18:08:32
|
Couldn't you also use extension_loaded()? Just curious. -- Nic Smith --- Anacreo <an...@gm...> wrote: > You can use the function_exists or method_exists to > see if these module's > services are available... > > Hope that helps... > > Alec > > > On Jan 27, 2008 9:09 PM, Neil Rest > <Nei...@rc...> wrote: > > > I'm working my way through some sample code which > uses a compiled-in > > package -- and the wheels come off at the first > call to a function in > > the package. > > > > Is there a (simple) test to see if my packaged PHP > executable has > > package x compiled in? > > > > > > > > Neil Rest > > -- > > Nei...@rc... > > http://users.rcn.com/neilrest/resume/NeilRest.htm ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |
From: Anacreo <an...@gm...> - 2008-01-28 18:13:26
|
Perhaps... I figure you mine as well check on the function name you want to use as it doesn't really matter what extension or include file provides it... Alec On Jan 28, 2008 12:08 PM, Nicholas Smith <ni...@ya...> wrote: > > Couldn't you also use extension_loaded()? Just > curious. > > -- > Nic Smith > > --- Anacreo <an...@gm...> wrote: > > > You can use the function_exists or method_exists to > > see if these module's > > services are available... > > > > Hope that helps... > > > > Alec > > > > > > On Jan 27, 2008 9:09 PM, Neil Rest > > <Nei...@rc...> wrote: > > > > > I'm working my way through some sample code which > > uses a compiled-in > > > package -- and the wheels come off at the first > > call to a function in > > > the package. > > > > > > Is there a (simple) test to see if my packaged PHP > > executable has > > > package x compiled in? > > > > > > > > > > > > Neil Rest > > > -- > > > Nei...@rc... > > > http://users.rcn.com/neilrest/resume/NeilRest.htm > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > |
From: Richard L. <ce...@l-...> - 2008-01-28 18:59:54
|
phpinfo also returns extension-specific info or blank if you pass in the optional argument of the extension name, I think... Or maybe I just dreamed about that feature... :-) On Sun, January 27, 2008 9:09 pm, Neil Rest wrote: > I'm working my way through some sample code which uses a compiled-in > package -- and the wheels come off at the first call to a function in > the package. > > Is there a (simple) test to see if my packaged PHP executable has > package x compiled in? > > > > Neil Rest > -- > Nei...@rc... > http://users.rcn.com/neilrest/resume/NeilRest.htm > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? |