3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $city = "Pune"; $pin= 413112; echo "I live in city $city $pin."; $str1 = $city. ",".$pin; $str2 .= $str3;
Output for 5.0.4 - 7.1.0
I live in city Pune 413112. Notice: Undefined variable: str3 in /in/OgSfX on line 6 Notice: Undefined variable: str2 in /in/OgSfX on line 6
Output for 4.3.0 - 5.0.3
I live in city Pune 413112. Notice: Undefined variable: str3 in /in/OgSfX on line 6 Notice: Undefined variable: str2 in /in/OgSfX on line 6