<?php // your code goes here$a = 123; $b = (string)$a;var_dump($b);
Standard input is empty
string(3) "123"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!