it 207 quiz 3

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

binary file

A ____ is a series of characters or bytes for which PHP attaches no special meaning

text file

A _____ has only printable characters and a small set of control of formatting characters

file pointer

A ___________ is a special type of variable that refers to the currently selected line or character in a file.

handle

A______ is a special type of variable that represents a resource, such as a file or directory

Mode

Are another word for file permissions granted to users, groups, and others.

user, group, and other

Files and directories have three levels of access:

The file_get_contents() and readfile()

Functions read the entire contents of a file into a string

chmod()

In PHP the _________ function is used to change the permissions on a file.

file_get_content

The _________ function reads the entire contents of a file into a string.

strlen()

The most commonly used string-counting function is the ________ function, which returns the total number of characters in a string

numeric position, return a character or substring

There are two types of string search and extraction functions: functions that return a _______________ in a text string and those that ________________

file_put_contents()

This function writes or appends a text string to a file and returns the number of bytes written to the file

file_put_contents()

This function writes or appends a text string to a file.

read, write, and execute

Typical file and directory permissions include

text file

Unlike a binary file, a _______ translates escape sequences.

str_word_count()

What function returns the number of words in a string?

parsing

When applied to text strings, ________refers to the act of dividing a string into logical component substrings or token

file pointer

a variable that refers to the currently selected line or character in a file

PHP converts the _____________________ values TRUE and FALSE to 1 and 0, respectively.

boolean

concatenation operator (.) and concatenation assignment operator (.=)

can be used to combine two strings

implode()

combines an array's elements into a single string, separated by specified characters

soundex() and metaphone() f

determine whether two strings are pronounced similarly

strtok()

function breaks a string into smaller strings, called tokens

strcasecmp()

function performs a case-insensitive comparison of strings

strcmp()

function performs a case-sensitive comparison of strings

substr()

function returns the specified portion of a string

str_split() or explode()

function to split a string into an indexed array, in which each character in the string becomes a separate element in the array

similar_text() and levenshtein()

functions are used to determine the similarity of two strings

soundex() and metaphone()

functions used to determine whether two strings are pronounced similarly

Use these functions to replace text in strings

str_replace(), str_ireplace(), and substr_replace()

What function returns the number of words in a string?

str_word_count()

What is the most commonly used string function, which returns the total number of characters in a string?

strlen()


संबंधित स्टडी सेट्स

Organizational Behavior Ch. 5 and Ch. 6

View Set

Chapter 12: Problem-Solving and Creativity

View Set

Chapter 11-13 Review Finance & Valuation

View Set

Chapter 11: water and major minerals

View Set

McKinney Maternal Test Bank Chap 1-30

View Set

ADN 120 Unit 2 Intracranial Regulation, Immunity, Inflammation, Infection, Reproduction and Sexuality

View Set

Analyzing Conflicting Information-Quiz- Level H

View Set