What is => in codeigniter
只是个简单的问题
在这个例子中,
它是由"is to"还是"is equal"读的?
1 2 3 4 5 6 | $array = array( 'color' => 'red', 'shape' => 'round', 'radius' => '10', 'diameter' => '20' ); |
它不是
例如:
1 2 3 4 | $x[0] = 10; $x[1] = 20; $x[2] = 30; $x[3] = 40; |
或
1 2 3 4 5 | $x = (0 => 10, 1 => 20, 2 => 30, 3 => 40, ); |