Changeset 55934
- Timestamp:
- 06/18/2023 12:53:47 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pomo/streams.php
r54960 r55934 61 61 public function readint32() { 62 62 $bytes = $this->read( 4 ); 63 if ( 4 != $this->strlen( $bytes ) ) {63 if ( 4 !== $this->strlen( $bytes ) ) { 64 64 return false; 65 65 } … … 78 78 public function readint32array( $count ) { 79 79 $bytes = $this->read( 4 * $count ); 80 if ( 4 * $count != $this->strlen( $bytes ) ) {80 if ( 4 * $count !== $this->strlen( $bytes ) ) { 81 81 return false; 82 82 } … … 195 195 */ 196 196 public function seekto( $pos ) { 197 if ( -1 == fseek( $this->_f, $pos, SEEK_SET ) ) {197 if ( -1 === fseek( $this->_f, $pos, SEEK_SET ) ) { 198 198 return false; 199 199 }
Note: See TracChangeset
for help on using the changeset viewer.