实验:PHP程序基本语法 实验内容:运行第三、四、五章的PHP书上例题 实验要求:查看运行结果;并结合课本,理解语句作用 注意:运行Wamp Server,将PHP程序拷贝至www目录,在浏览器地址栏中输入程序地址,如:http://localhost/5/createArray1.php 第三章:PHP表达式 35页:define.php 36页:defineError.php 37页:predefined.php 37页:variable.php 42页:dataType.php 42页:defined.php 43页:isset.php 45页:is_null.php 46页:empty.php 49页:calculator.php 51页:compare.php(注意全等符号) 52页:string.php 53页:errorControl.php 54页:condition.php instanceof.php exec.php 第四章:PHP流程控制语句 66页:if_else1.php 67页:if_else2.php 67页:elseif.php 68页:switch1.php 69页:switch2.php 70页:while.php 71页:for.php 73页:continue.php 74页:break.php 75页:exit.php 第五章:PHP数组 78页:createArray1.php 79页:createArray2.php createArray3.php 80页:createArray4.php createArray5.php 81页:visitArray.php 84页:twoDimension.php 85页:twoDimension.php visitArray2.php 87页:range.php 87页:explode.php array_combine.php 89页:count.php 89页:max.php min.php 90页:array_sum.php 90页:array_product.php array_count_values.php 91页:ergodic1.php 92页:keyAndValue.php 92页:next.php 93页:end.php 94页:prev.php reset.php 95页:each.php ergodic2.php 98页:foreach.php 99页:foreach2.php foreach3.php