$str1 = "01" cumulative problem

found a very interesting phenomenon in PHP, but I don"t know how to explain it. The code goes like this:

    $str1 = "01 ";
    $str1PP;
    echo $str1;//01

    $str1 = "01";
    $str1PP;
    echo $str1;//2

Why is it interesting that $str1 is a string, but the first $str1 equals "01" with an extra space, so even if you use PP, the output is still itself. According to reason, doesn"t PHP automatically convert the string calculation into a number (1) to force the accumulation? how come it doesn"t count because it contains a space?
depressed, ask for an explanation. Thank you

Mar.04,2021

  1. I think it will be clearer to write this way:

      this 
    
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e50f75-450fd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e50f75-450fd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?