3v4l.org

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