Finish PHP; Back to Inverted Index ADT




CS267

Chris Pollett

Sep 11, 2023

Outline

Introduction

Integer, String, and Boolean Type

Arithmetic Operators,etc

Control Statements

Arrays

More on PHP Arrays

Yet More on PHP Arrays

Functions

Quiz

Which of the following is true?

  1. PHP programs must all end with ?>
  2. The Manage Classifiers activity in Yioop can be used to see how Yioop will process a web page.
  3. Yioop uses a QueueServer.php script to maintain a priority queue of what to download next.

Variable Scope

Built-in Globals

File Reading

ADT Example: Phrase Search