Output of the "Using the Symfony string component to get the singular or plural of a word" Symfony snippet

Environment:

  • Strangebuzz Snippet VM: 6.4.2
  • PHP: 8.3
  • Symfony: 6.4.6

Code execution output:

Array
(
    [0] => teeth
)
Array
(
    [0] => leaf
    [1] => leave
    [2] => leaff
)
Array
(
    [0] => hiboux
)
Array
(
    [0] => cheval
)