PHP coding challenge

Passing variables by reference

āœØ Your Task

Define a method named increment, that: šŸ‘‰ accepts a single argument passed as a reference AND šŸ‘‰ increments it's value.

āœļø PHP PHP version: 8.1
šŸ‘‰ Press "Run" and check the result below.
Test cases
Mehtod increment should increment value 1 to 2