Output of the "PHP 8.1: using the first-class callable syntax to create a callback " PHP snippet

Environment:

  • Strangebuzz Snippet VM: 6.4.2
  • PHP: 8.3

Code execution output:

Array
(
    [0] => a
    [1] => bb
    [2] => ccc
    [3] => dddd
)
Array
(
    [0] => a (1)
    [1] => bb (2)
    [2] => ccc (3)
    [3] => dddd (4)
)
Array
(
    [0] => 5
    [1] => 6
    [2] => 7
    [3] => 8
)