Mercurial > hg > rc2
comparison program/lib/Roundcube/rcube_imap_generic.php @ 22:303b85d5b561
More cleaning up php8 Warnings/deprecations
| author | Charlie Root |
|---|---|
| date | Wed, 15 Oct 2025 14:06:27 -0400 |
| parents | 73124dd49283 |
| children |
comparison
equal
deleted
inserted
replaced
| 21:73124dd49283 | 22:303b85d5b561 |
|---|---|
| 3795 | 3795 |
| 3796 while (!$num || count($result) < $num) { | 3796 while (!$num || count($result) < $num) { |
| 3797 // remove spaces from the beginning of the string | 3797 // remove spaces from the beginning of the string |
| 3798 $str = ltrim($str); | 3798 $str = ltrim($str); |
| 3799 | 3799 |
| 3800 switch ($str[0]) { | 3800 switch ($str[0]??'') { |
| 3801 | 3801 |
| 3802 // String literal | 3802 // String literal |
| 3803 case '{': | 3803 case '{': |
| 3804 if (($epos = strpos($str, "}\r\n", 1)) == false) { | 3804 if (($epos = strpos($str, "}\r\n", 1)) == false) { |
| 3805 // error | 3805 // error |
