- create a method in kMainTagProcessor, that would
- have 1 parameter for each data type processed by Debugger::print_r method:
- null
- object
- resource
- string, that has less then 200 symbols
- string, that has more then 200 symbols
- number
- array, that has more then 50 elements
- array, that has less then 50 elements
- array with 5 elements, where one of them is an array with 200 elements
- trigger Fatal Error
- have 1 parameter for each data type processed by Debugger::print_r method:
- create new tag in kMainTagProcessor, that would:
- call newly created method
- provide value of corresponding data type in each parameter
- confirm, that:
- null is printed as NULL
- object is printed the same way as print_r function prints it
- resource is printed as it's casted to string version
- string with less then 200 symbols is printed completely
- string with more then 200 symbols has only first 50 symbols printed and ... printed after them
- number is printed as is
- array, that has more then 50 elements has only first 50 elements printed and ... element printed after them
- array, that has less then 50 elements has all elements printed
- sub-array of 200 elements is printed the same was as array with more then 50 elements (cut + ... added)
Details
Details
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.