[Cialug] PHP Question
Kevin C. Smith
kevin at linuxsmith.com
Wed Nov 9 10:23:14 CST 2011
That wouldn't be my issue I guess.
Thanks
Sent from my U.S. Cellular® Android phone
Matt Patterson <matt at usrlocal.com> wrote:
>Its an error control operator. It will ignore any error messages generated from said command after the @ symbol.
>
>http://www.php.net/manual/en/language.operators.errorcontrol.php
>
>
>
>
>On Nov 9, 2011, at 9:55 AM, kevin wrote:
>
>> I'm not able to find quick answer to this.
>> What's the "@" doing in PHP code I look at?
>> I don't use PHP, but trying to fix an issue that may be related?
>>
>> Code I'm looking at:
>> @date_default_timezone_set(get_option('timezone_string'));
>>
>> Wondering if I should try:
>> date_default_timezone_set(get_option('timezone_string'));
>>
>> But have no idea what the @ does.
>> Currently the timezone setting in a WP plugin is inconsistently used.
>> I suspect this:
>>
>> Plugin runs, if importing only one post all is well.
>> Plugin runs, if looping over multiple posts some don't get tz setting.
>> Just a hunch at this point.
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> http://cialug.org/mailman/listinfo/cialug
>
>_______________________________________________
>Cialug mailing list
>Cialug at cialug.org
>http://cialug.org/mailman/listinfo/cialug
More information about the Cialug
mailing list