File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2661,7 +2661,7 @@ PHP_FUNCTION(ord)
26612661 "Providing an empty string is deprecated" );
26622662 } else {
26632663 php_error_docref (NULL , E_DEPRECATED ,
2664- "Providing a string which is not one byte long is deprecated, use ord($str[0]) instead" );
2664+ "Providing a string that is not one byte long is deprecated. Use ord($str[0]) instead" );
26652665 }
26662666 }
26672667 RETURN_LONG ((unsigned char ) ZSTR_VAL (str )[0 ]);
Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ var_dump(ord("Hello"));
1111Deprecated: ord(): Providing an empty string is deprecated in %s on line 3
1212int(0)
1313
14- Deprecated: ord(): Providing a string which is not one byte long is deprecated, use ord($str[0]) instead in %s on line 4
14+ Deprecated: ord(): Providing a string that is not one byte long is deprecated. Use ord($str[0]) instead in %s on line 4
1515int(72)
You can’t perform that action at this time.
0 commit comments