@@ -306,7 +306,7 @@ static void php_tidy_quick_repair(INTERNAL_FUNCTION_PARAMETERS, bool is_file)
306
306
if (ZEND_SIZE_T_UINT_OVFL (ZSTR_LEN (data ))) {
307
307
if (is_file ) {
308
308
zend_string_release_ex (data , false);
309
- zend_argument_value_error (1 , "Input string is too long" );
309
+ zend_argument_value_error (1 , "File content is too long" );
310
310
} else {
311
311
zend_argument_value_error (1 , "is too long" );
312
312
}
@@ -973,7 +973,7 @@ static zend_result php_tidy_output_handler(void **nothing, php_output_context *o
973
973
tidyOptSetBool (doc , TidyMark , no );
974
974
975
975
if (ZEND_SIZE_T_UINT_OVFL (output_context -> in .used )) {
976
- php_error_docref (NULL , E_WARNING , "Input string is too long" );
976
+ php_error_docref (NULL , E_WARNING , "File content is too long" );
977
977
return status ;
978
978
}
979
979
@@ -1086,7 +1086,7 @@ PHP_FUNCTION(tidy_parse_file)
1086
1086
1087
1087
if (ZEND_SIZE_T_UINT_OVFL (ZSTR_LEN (contents ))) {
1088
1088
zend_string_release_ex (contents , 0 );
1089
- zend_value_error ("Input string is too long" );
1089
+ zend_value_error ("File content is too long" );
1090
1090
RETURN_THROWS ();
1091
1091
}
1092
1092
@@ -1384,7 +1384,7 @@ PHP_METHOD(tidy, __construct)
1384
1384
1385
1385
if (ZEND_SIZE_T_UINT_OVFL (ZSTR_LEN (contents ))) {
1386
1386
zend_string_release_ex (contents , 0 );
1387
- zend_value_error ("Input string is too long" );
1387
+ zend_value_error ("File content is too long" );
1388
1388
RETURN_THROWS ();
1389
1389
}
1390
1390
@@ -1423,7 +1423,7 @@ PHP_METHOD(tidy, parseFile)
1423
1423
1424
1424
if (ZEND_SIZE_T_UINT_OVFL (ZSTR_LEN (contents ))) {
1425
1425
zend_string_release_ex (contents , 0 );
1426
- zend_value_error ("Input string is too long" );
1426
+ zend_value_error ("File content is too long" );
1427
1427
RETURN_THROWS ();
1428
1428
}
1429
1429
0 commit comments