- Timestamp:
- 10/23/2015 04:21:01 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/random_compat/random_bytes_com_dotnet.php
r34922 r35365 40 40 function random_bytes($bytes) 41 41 { 42 if (!is_int($bytes)) { 42 try { 43 $bytes = RandomCompat_intval($bytes); 44 } catch (TypeError $ex) { 43 45 throw new TypeError( 44 ' Lengthmust be an integer'46 'random_bytes(): $bytes must be an integer' 45 47 ); 46 48 }
Note: See TracChangeset
for help on using the changeset viewer.