@@ -461,6 +461,10 @@ |
||
461 | 461 | return strtotime($timezone); |
462 | 462 | } |
463 | 463 | |
464 | + /** |
|
465 | + * @param integer $timezone |
|
466 | + * @param integer $gmt |
|
467 | + */ |
|
464 | 468 | function timezone_offset_get ($timezone, $gmt) |
465 | 469 | { |
466 | 470 | return $gmt - $timezone; |
@@ -409,7 +409,7 @@ discard block |
||
409 | 409 | * Finds whether the given UTF-8 encoded string contains valid integer value. |
410 | 410 | * |
411 | 411 | * @param string $str The UTF-8 encoded string being evaluated. |
412 | - * @return bool TRUE if <i>str</i> contains valid integer value, FALSE otherwise. |
|
412 | + * @return integer TRUE if <i>str</i> contains valid integer value, FALSE otherwise. |
|
413 | 413 | */ |
414 | 414 | function is_intvalue ($str) |
415 | 415 | { |
@@ -421,7 +421,7 @@ discard block |
||
421 | 421 | * Finds whether the given UTF-8 encoded string contains valid float value. |
422 | 422 | * |
423 | 423 | * @param string $str The UTF-8 encoded string being evaluated. |
424 | - * @return bool TRUE if <i>str</i> contains valid float value, FALSE otherwise. |
|
424 | + * @return integer TRUE if <i>str</i> contains valid float value, FALSE otherwise. |
|
425 | 425 | */ |
426 | 426 | function is_floatvalue ($str) |
427 | 427 | { |
@@ -434,7 +434,7 @@ discard block |
||
434 | 434 | * (only latin characters, digits, and underline are allowed). |
435 | 435 | * |
436 | 436 | * @param string $str The UTF-8 encoded string being evaluated. |
437 | - * @return bool TRUE if <i>str</i> contains valid login, FALSE otherwise. |
|
437 | + * @return integer TRUE if <i>str</i> contains valid login, FALSE otherwise. |
|
438 | 438 | */ |
439 | 439 | function is_username ($str) |
440 | 440 | { |
@@ -446,7 +446,7 @@ discard block |
||
446 | 446 | * Finds whether the given UTF-8 encoded string contains valid email address. |
447 | 447 | * |
448 | 448 | * @param string $str The UTF-8 encoded string being evaluated. |
449 | - * @return bool TRUE if <i>str</i> contains valid email address, FALSE otherwise. |
|
449 | + * @return integer TRUE if <i>str</i> contains valid email address, FALSE otherwise. |
|
450 | 450 | */ |
451 | 451 | function is_email ($str) |
452 | 452 | { |