3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = utf8_encode('1392'); //echo $str; // Prints 1392 //echo $str + 0; // Prints 0 (it should print 1392) echo $str + 1; // Prints 1 (it should print 1393)

preferences:
40.94 ms | 402 KiB | 5 Q