<?php function test(&$numRows) { $numRows = 5; echo ' -- done test';} $value = 0;test($value);echo ' -- result is '.$value; test(${''});
Standard input is empty
-- done test -- result is 5 -- done test
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!