<?php $x="aa";ob_start();var_dump($x);$y=ob_get_clean();echo $y;if ($y == "string(2) \"aa\"\n") echo "ok";
Standard input is empty
string(2) "aa" ok
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!