-
Class name, function name is case-insensitive
Variable, constant-differentiated
-
Weak language:
-
Shaping, floating point, character, Boolean
-
Array
650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M01/4D/E6 /wkiol1rcudqrqob5aad3rzodi0i532.jpg "title=" is not named. JPG "alt=" wkiol1rcudqrqob5aad3rzodi0i532.jpg "/>
JavaScript can only
650) this.width=650;" src = "Http://s3.51cto.com/wyfs02/M01/4D/E6/wKioL1RcUJ-SVWIpAADa_wHgj5o096.jpg" title= "is not named. JPG "alt=" wkiol1rcuj-svwipaada_whgj5o096.jpg "/>
-
Array traversal
650) this.width=650;" src= "http:/ S3.51cto.com/wyfs02/m00/4d/e8/wkiom1rculrzqqdiaac8szuipjc984.jpg "title=" is not named. JPG "alt=" wkiom1rculrzqqdiaac8szuipjc984.jpg "/>
-
Null, class, resource
-
Variable reference $a = & $b;
-
Static variable
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/4D/E8/wKiom1RcVPChlMzTAAFoLZKtI _i796.jpg "title=" is not named. JPG "alt=" wkiom1rcvpchlmztaafolzkti_i796.jpg "/>
-
Type conversions
-
Php
String to Number
echo $a + $b;
$a = "123a"; $b = 1; 124
$a = "123"; $b = 1; 124
$a = "a123"; $b = 1; 1
Numeric to String
. operator
Js
Numeric to String
var i = "123a"; var j = 1;
document.write (I+J); string: 123a1
String to Number
parseint ()
5. The assignment operator assigns the value and returns the assigned value
$a = 5;
$b = 10;
$c = ($a = $b);
Echo $c; Ten
6.
PHP Syntax Basics