Sample Input: Answer to the Ultimate Question of Life, the Universe, and Everything.
truncateGumbo: Answer to the Ultimate Question of Life, the …
truncateGordon: Answer to the Ultimate Question of Life, the Uni …
truncateSoapBox: Answer to the Ultimate Question of Life, the …
truncateMickmackusa: Answer to the Ultimate Question of Life, the …
Expected Result: Answer to the Ultimate Question of Life, the …
-----------------------------------------------------
Sample Input: A single line of text to be followed by another
line of text
truncateGumbo: A single line of text to be followed by …
truncateGordon: A single line of text to be followed by another
…
truncateSoapBox: A single line of text to be followed by …
truncateMickmackusa: A single line of text to be followed by another …
Expected Result: A single line of text to be followed by another …
-----------------------------------------------------
Sample Input: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝ
truncateGumbo: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđ …
truncateGordon: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđ …
truncateSoapBox: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđ …
truncateMickmackusa: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđ …
Expected Result: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđ …
-----------------------------------------------------
Sample Input: 123456789 123456789 123456789 123456789 123456789
truncateGumbo: 123456789 123456789 123456789 123456789 12345678 …
truncateGordon: 123456789 123456789 123456789 123456789 123456789
truncateSoapBox: 123456789 123456789 123456789 123456789 …
truncateMickmackusa: 123456789 123456789 123456789 123456789 123456789
Expected Result: 1234567890123456789012345678901234567890123456789
-----------------------------------------------------
Sample Input: Hello worldly world
truncateGumbo:
Fatal error: Uncaught ValueError: mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) in /in/ijGiR:4
Stack trace:
#0 /in/ijGiR(4): mb_strpos('Hello worldly w...', ' ', 48)
#1 /in/ijGiR(68): truncateGumbo('Hello worldly w...')
#2 {main}
thrown in /in/ijGiR on line 4
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Sample Input: Answer to the Ultimate Question of Life, the Universe, and Everything.
truncateGumbo: Answer to the Ultimate Question of Life, the …
truncateGordon: Answer to the Ultimate Question of Life, the Uni …
truncateSoapBox: Answer to the Ultimate Question of Life, the …
truncateMickmackusa: Answer to the Ultimate Question of Life, the …
Expected Result: Answer to the Ultimate Question of Life, the …
-----------------------------------------------------
Sample Input: A single line of text to be followed by another
line of text
truncateGumbo: A single line of text to be followed by …
truncateGordon: A single line of text to be followed by another
…
truncateSoapBox: A single line of text to be followed by …
truncateMickmackusa: A single line of text to be followed by another …
Expected Result: A single line of text to be followed by another …
-----------------------------------------------------
Sample Input: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝ
truncateGumbo: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđ …
truncateGordon: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđ …
truncateSoapBox: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđ …
truncateMickmackusa: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđ …
Expected Result: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđ …
-----------------------------------------------------
Sample Input: 123456789 123456789 123456789 123456789 123456789
truncateGumbo: 123456789 123456789 123456789 123456789 12345678 …
truncateGordon: 123456789 123456789 123456789 123456789 123456789
truncateSoapBox: 123456789 123456789 123456789 123456789 …
truncateMickmackusa: 123456789 123456789 123456789 123456789 123456789
Expected Result: 1234567890123456789012345678901234567890123456789
-----------------------------------------------------
Sample Input: Hello worldly world
truncateGumbo:
Fatal error: Uncaught ValueError: mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) in /in/ijGiR:4
Stack trace:
#0 /in/ijGiR(4): mb_strpos('Hello worldly w...', ' ', 48)
#1 /in/ijGiR(68): truncateGumbo('Hello worldly w...')
#2 {main}
thrown in /in/ijGiR on line 4
Process exited with code 255.
Sample Input: Answer to the Ultimate Question of Life, the Universe, and Everything.
truncateGumbo: Answer to the Ultimate Question of Life, the …
truncateGordon: Answer to the Ultimate Question of Life, the Uni …
truncateSoapBox: Answer to the Ultimate Question of Life, the …
truncateMickmackusa: Answer to the Ultimate Question of Life, the …
Expected Result: Answer to the Ultimate Question of Life, the …
-----------------------------------------------------
Sample Input: A single line of text to be followed by another
line of text
truncateGumbo: A single line of text to be followed by …
truncateGordon: A single line of text to be followed by another
…
truncateSoapBox: A single line of text to be followed by …
truncateMickmackusa: A single line of text to be followed by another …
Expected Result: A single line of text to be followed by another …
-----------------------------------------------------
Sample Input: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝ
truncateGumbo: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđ …
truncateGordon: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđ …
truncateSoapBox: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđ …
truncateMickmackusa: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđ …
Expected Result: âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđ …
-----------------------------------------------------
Sample Input: 123456789 123456789 123456789 123456789 123456789
truncateGumbo: 123456789 123456789 123456789 123456789 12345678 …
truncateGordon: 123456789 123456789 123456789 123456789 123456789
truncateSoapBox: 123456789 123456789 123456789 123456789 …
truncateMickmackusa: 123456789 123456789 123456789 123456789 123456789
Expected Result: 1234567890123456789012345678901234567890123456789
-----------------------------------------------------
Sample Input: Hello worldly world
truncateGumbo:
Warning: mb_strpos(): Offset not contained in string in /in/ijGiR on line 4
Hello worldly world …
truncateGordon: Hello worldly world
truncateSoapBox: Hello worldly …
truncateMickmackusa: Hello worldly world
Expected Result: Hello worldly world
-----------------------------------------------------
Sample Input: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYXZ1234567890
truncateGumbo: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUV …
truncateGordon: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUV …
truncateSoapBox: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUV …
truncateMickmackusa: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUV …
Expected Result: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUV …
-----------------------------------------------------