3v4l.org

run code in 300+ PHP versions simultaneously
<?php $scope = 'init'; $your_mom = function() use ($scope) { echo $scope; }; $your_mom();

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
158.43 ms | 2023 KiB | 10 Q