Skip to content

Commit a13e586

Browse files
committed
Merge branch 'pull-request/28'
2 parents 5553fb8 + e215964 commit a13e586

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

spec/php-spec-draft.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -379,15 +379,16 @@ the use of old-style constructor names).
379379
For the purposes of this document, the following terms and definitions
380380
apply:
381381

382-
**argument**an expression passed to a function, that is intended to
382+
**argument**a value passed to a function, that is intended to
383383
map to a corresponding parameter.
384384

385385
**behavior** – external appearance or action.
386386

387387
**behavior, implementation-defined** – behavior specific to an
388388
implementation, where that implementation must document that behavior.
389389

390-
**behavior, undefined** – behavior on handling an erroneous program
390+
**behavior, undefined** – behavior which is not guaranteed to produce
391+
any specific result. Usually follows an erroneous program
391392
construct or data.
392393

393394
**behavior, unspecified** – behavior for which this specification
@@ -396,16 +397,17 @@ provides no requirements.
396397
**constraint** – restriction, either syntactic or semantic, on how
397398
language elements can be used.
398399

399-
**error, fatal** – a translation or runtime condition from which the
400-
translator or engine cannot recover.
400+
**error, fatal** – a condition in which the engine cannot continue
401+
executing the script and must terminate.
401402

402403
**error, fatal, catchable** – a fatal error that can be caught by a
403404
user-defined handler.
404405

405-
**error, non-fatal** – an error that is not fatal.
406+
**error, non-fatal** – an error that is not a fatal error and allows for
407+
the engine to continue execution.
406408

407-
**lvalue** – an expression that designates a memory location having a
408-
type.
409+
**lvalue** – an expression that designates a location that can store
410+
a value.
409411

410412
**lvalue, modifiable** – an lvalue whose value can be changed.
411413

@@ -415,11 +417,11 @@ type.
415417
that is intended to map to a corresponding argument in a call to that
416418
function.
417419

418-
**PHP Run-Time Engine** – the machinery that executes a PHP program.
420+
**PHP Run-Time Engine** – the software that executes a PHP program.
419421
Referred to as *the Engine* throughout this specification.
420422

421-
**value**precise meaning of the contents of a memory location when
422-
interpreted as having a specific type.
423+
**value**a primitive unit of data operated by the Engine having a type
424+
and potentially other content depending on the type.
423425

424426
Other terms are defined throughout this specification, as needed, with
425427
the first usage being typeset *like this*.

0 commit comments

Comments
 (0)