Skip to content

Commit 6f2488d

Browse files
sjinksrinatkhaziev
andcommitted
Update object-cache.php
Co-authored-by: Rinat K <[email protected]>
1 parent 0aea3c1 commit 6f2488d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

object-cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ function get( $id, $group = 'default', $force = false, &$found = null ) {
467467
* In PHP 8, they changed the way memcache_get() handles `null`:
468468
* https://github.com/websupport-sk/pecl-memcache/blob/ccf702b14b18fce18a1863e115a7b4c964df952e/src/memcache.c#L2175-L2177
469469
*
470-
* If the return value is `null`, it is silently converted to `false`. We can only rely upon $flags to find out whther `false` is real.
470+
* If the return value is `null`, it is silently converted to `false`. We can only rely upon $flags to find out whether `false` is real.
471471
*/
472472
$value = null;
473473
}

0 commit comments

Comments
 (0)