In the previous article "JavaScript English Word Summary (PHP Newbie Collection)", I introduced all the JavaScript English words involved in learning PHP. Let me share with you the commonly used PHP English words involved in learning PHP. The remaining parts will be shared slowly in the following series of articles.
Commonly used PHP English words involved in learning PHP
PHP
: HyperText Proprocessor
hosts
:hosts file
DNS
:Domain Name Server domain name server
load
:Load
Module
:Module
LoadModule
:Load module
File
:File
Match
: Match
FilesMatch
: File match
AddType
: Add type
application
: Application Program
Info
:Information,Information
Ini
:Initiate,Initialization
Dir
:Directory Directory
Time
: Time
zone
: Time zone
timezone
: Time zone
extension
:Extension
Option
:Option
Order
:Order
Allow
: Allow
Deny
: Deny
Override
: Override
Index
: Index, logo, homepage
DirectoryIndex
: Directory default page
Server
: Server
Alias
: Nickname, alias
ServerAlias
: Server alias
VirtualHost
: Virtual host
ServerName
: Server name
Root
: root, root directory
DocumentRoot
: document root directory
Short_open_tag
: Short tag
isset
: Whether to set
unset
: Unset
echo
: Output
get
##post
request: need, request, request
global: global, overall
method: method, method
location: address, website
request_order: Request order
remote: Remote
self: Self’s
define: Definition
constant: Constant
version: Version
dir: Directory
file: File
line: Line
int : Integer
float: Floating point
string: String
bool: boolean, boolean
array: array
object: object
null: empty
resource:Resource
dec:decimal,decimal
bin:binary,binary
oct: octal, octal
hex: hexadecimal, hexadecimal
double: double, two Times of
real: real number
key: key, key
value: value
var_dump: Display data information
gettype: Get type
settype: Set type
empty:empty
if:if
else:else
break:Exit
continue:Continue
while:When...
foreach: For each of... (traverse)
switch: Convert, switch
die: Die , stop
exit: exit
sleep: sleep
include: include
require:Requirement
once:Once
return:Return
error:Error
warning:Warning
notice:Prompt
strict : strict
user : user
trigger : trigger, raise
display : display
on:Open
off:Close
log:Log, record
report:Report
parameter:Formal parameter
argument:Actual parameter
function: function
call: call
exists: exists
print: Print
trim: Trim, adjust
implode: Collapse, disintegrate
explode: Explosion, explosion, surge
substr: Intercept substring
strchr: Search for the first string in another string One Occurrence
strrchr: Finds the last occurrence of a string in another string and returns all characters from that position to the end of the string.
replace: Replace
strtolower: Convert to lowercase
strtoupper: Convert to uppercase
position
:Position
slash
:Slash, backslash
time
:Time
microtime
: Micro time
date
: Date
strtotime
: Character converted to time
diff
:different, different, difference
max
:Maximum
min
:Minimum
round
: round, complete, making it an integer
rand
: random, random
abs
: absolute, absolute
ceil
: round up
floor
: round down
each
: each
list
: list, list
current
: current, current
key
: key, key name, key
next
: next, next
prev
: previous, Previous
reset
: restore, reset
end
: end, finally, terminate
pop
: popup, pop up, take out, launch
push
: push in, squeeze, press in
shift
: move, change, Shift, shift, transition
slice
: cut, cut
splice
: join, connect, splice
sort
: sort
shuffle
: shuffle
count
: quantity, count
reverse
: reverse
merge
: merge, merge, merge
sum
: sum, summation
range
: range
new
: new, create
class
: class
public
:Public
protected
:Protected
private
:Private
this
: oneself, this
static
: static
self
: oneself, one’s own
parent
:Parent’s
construct
:Construct, build, construct
destruct
:Destroy, destroy
extend
: extension, extension
final
: the last
abstract
: abstract
interface
:Interface
implement
:implementation, implementation, execution
tostring
:convert to string
invoke
: quote, cause, ask for help, call
instance
: instance
Model
: model
View
:View
Controller
:Controller
PDO
:PHP Data Object,php data object
query
:Query
exec
:execute,execute
close
:Close
lastinsertid
: The last insert id
attribute
: Attribute
errorcode
: Error code
errorinfo
:Error message
errmode
:Error mode
exception
:Exception
rowcount
: Number of rows
columncount
: Number of columns
fetch
: Fetch, get
prepare
: prepare
execute
: execute
session
: session
cookie
: one A mechanism to store data on a remote browser to track and identify users
setcookie
:Set cookie
lifetime
:Life cycle
path
: Path
domain
: Domain name
secure
: Security
maxlifetime
: Maximum lifetime
probability
: Possibility
pisor
: Divisor, denominator
handler
:Handler
save
:Save, store
auto_start
:Auto start
image
:Picture
truecolor
:True color
allocate
:Allocation
fill
: Padding
size
: Size
mime
: Multipurpose Internet Mail Extensions
destroy
:Destroy
copy
:Copy
resample
:Sample
mkdir
: Create directory
opendir
: Open directory
readdir
: Read directory
closedir
: Close Directory
rename
: Rename
unlink
: Delete directory or file
realpath
: Complete Path
BaseName
: Base file name
DirName
: Directory name
file_get_contents
: Get the file Contents
file_put_contents
:Write file content
fopen
:Open file
ftell
:Get File pointer position
fseek
: Set the file pointer position
fread
: Read the file content
fgetc
: Read a character
fgets
: Read a line or characters of a specified length in this line
fwrite
: Write the file content
fclose
:Close the file
filemtime
:The last modification time of the file
filesize
:File size
file_exists
:Whether the file exists
accept
:Receive, accept
accept-language
:Acceptable language
encoding
:Encoding
user-agent
:User agent ( Information)
connection
: connection
keep-alive
: keep alive
found
: Found, Found
forbidden
: Forbidden
internal
: Internal
content-type
: Content type
socket
: Socket
If you are not good at English, you can learn PHP and learn all the English words involved in PHP:
《HTML English word summary (PHP novice collection)》
《CSS English word summary (PHP novice collection)》
《JavaScript English word summary (PHP newbie collection) 》
Recommended learning: "PHP video tutorial》
The above is the detailed content of PHP English word summary (PHP novice collection). For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

TostaycurrentwithPHPdevelopmentsandbestpractices,followkeynewssourceslikePHP.netandPHPWeekly,engagewithcommunitiesonforumsandconferences,keeptoolingupdatedandgraduallyadoptnewfeatures,andreadorcontributetoopensourceprojects.First,followreliablesource

PHPbecamepopularforwebdevelopmentduetoitseaseoflearning,seamlessintegrationwithHTML,widespreadhostingsupport,andalargeecosystemincludingframeworkslikeLaravelandCMSplatformslikeWordPress.Itexcelsinhandlingformsubmissions,managingusersessions,interacti

TosettherighttimezoneinPHP,usedate_default_timezone_set()functionatthestartofyourscriptwithavalididentifiersuchas'America/New_York'.1.Usedate_default_timezone_set()beforeanydate/timefunctions.2.Alternatively,configurethephp.inifilebysettingdate.timez

TovalidateuserinputinPHP,usebuilt-invalidationfunctionslikefilter_var()andfilter_input(),applyregularexpressionsforcustomformatssuchasusernamesorphonenumbers,checkdatatypesfornumericvalueslikeageorprice,setlengthlimitsandtrimwhitespacetopreventlayout

ThePhpfunctionSerialize () andunserialize () AreusedtoconvertcomplexdaTastructdestoresintostoraSandaBackagain.1.Serialize () c OnvertsdatalikecarraysorobjectsraystringcontainingTypeandstructureinformation.2.unserialize () Reconstruct theoriginalatataprom

You can embed PHP code into HTML files, but make sure that the file has an extension of .php so that the server can parse it correctly. Use standard tags to wrap PHP code, insert dynamic content anywhere in HTML. In addition, you can switch PHP and HTML multiple times in the same file to realize dynamic functions such as conditional rendering. Be sure to pay attention to the server configuration and syntax correctness to avoid problems caused by short labels, quotation mark errors or omitted end labels.

The key to writing clean and easy-to-maintain PHP code lies in clear naming, following standards, reasonable structure, making good use of comments and testability. 1. Use clear variables, functions and class names, such as $userData and calculateTotalPrice(); 2. Follow the PSR-12 standard unified code style; 3. Split the code structure according to responsibilities, and organize it using MVC or Laravel-style catalogs; 4. Avoid noodles-style code and split the logic into small functions with a single responsibility; 5. Add comments at key points and write interface documents to clarify parameters, return values ??and exceptions; 6. Improve testability, adopt dependency injection, reduce global state and static methods. These practices improve code quality, collaboration efficiency and post-maintenance ease.

Yes,youcanrunSQLqueriesusingPHP,andtheprocessinvolveschoosingadatabaseextension,connectingtothedatabase,executingqueriessafely,andclosingconnectionswhendone.Todothis,firstchoosebetweenMySQLiorPDO,withPDObeingmoreflexibleduetosupportingmultipledatabas
