Re: System errno in PHP
| From: | Richard Lynch | Date: | Tue, 19 Feb 2008 19:17:07 +0000 |
| Subject: | Re: System errno in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269645@lists.php.net to get a copy of this message | ||
On Tue, February 19, 2008 7:13 am, Michal Maras wrote:
> Coud somebody tell me if it is possible to get integer value of
> variable
> which name in C is errno end in perl $!.
> I am PHP beginner so I am sorry if question is 'stupid'.
If you use exec() you can get that as a returned value for the third arg.
If you just mean out of the existing environment, almost for sure it's
there in something kinda obvious like $errno or somesuch...
vardump($_ENV) will probably show it.
--
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?