Download ebooks file PHP 8 Basics: For Programming and Web Development Gunnard Engebreth all chapters
Download ebooks file PHP 8 Basics: For Programming and Web Development Gunnard Engebreth all chapters
https://ebookmass.com
https://ebookmass.com/product/php-8-basics-for-
programming-and-web-development-gunnard-engebreth/
https://ebookmass.com/product/php-8-basics-for-programming-and-web-
development-1st-edition-gunnard-engebreth/
testbankdeal.com
https://ebookmass.com/product/an-introduction-to-php-learn-php-8-to-
create-dynamic-websites-1st-edition-mark-simon/
testbankdeal.com
https://ebookmass.com/product/an-introduction-to-php-learn-php-8-to-
create-dynamic-websites-mark-simon/
testbankdeal.com
JavaScript for Web Developers: Understanding the Basics
1st Edition Mark Simon
https://ebookmass.com/product/javascript-for-web-developers-
understanding-the-basics-1st-edition-mark-simon/
testbankdeal.com
https://ebookmass.com/product/how-javascript-works-master-the-basics-
of-javascript-and-modern-web-app-development-1st-edition-jonathon-
simpson-2/
testbankdeal.com
https://ebookmass.com/product/how-javascript-works-master-the-basics-
of-javascript-and-modern-web-app-development-1st-edition-jonathon-
simpson/
testbankdeal.com
https://ebookmass.com/product/introducing-rescript-functional-
programming-for-web-applications-1st-edition-danny-yang/
testbankdeal.com
Gunnard Engebreth and Satej Kumar Sahu
PHP 8 Basics
For Programming and Web Development
Gunnard Engebreth
Madison, WI, USA
This work is subject to copyright. All rights are solely and exclusively
licensed by the Publisher, whether the whole or part of the material is
concerned, specifically the rights of translation, reprinting, reuse of
illustrations, recitation, broadcasting, reproduction on microfilms or in
any other physical way, and transmission or information storage and
retrieval, electronic adaptation, computer software, or by similar or
dissimilar methodology now known or hereafter developed.
The publisher, the authors, and the editors are safe to assume that the
advice and information in this book are believed to be true and accurate
at the date of publication. Neither the publisher nor the authors or the
editors give a warranty, expressed or implied, with respect to the
material contained herein or for any errors or omissions that may have
been made. The publisher remains neutral with regard to jurisdictional
claims in published maps and institutional affiliations.
This Apress imprint is published by the registered company APress
Media, LLC, part of Springer Nature.
The registered company address is: 1 New York Plaza, New York, NY
10004, U.S.A.
This book is dedicated to my wife Erica and to my boys Trip and
Wyatt.Also, you the reader. Thank you!
Jesus looked at them and said, “With man this is impossible, but with God
all things are possible.”
—Matthew 19:26!
Introduction
Developing web pages and applications is still, after many years, one of
the most fascinating endeavors for developers. The idea of taking a
simple idea and developing it, seeing it coming alive and imagining the
experience the user will have is something very magical.
The experience of programming as web developer should, of course,
also be easy, user-friendly, and flexible—all characteristics of the
programming language this book is all about: PHP version 8.
The first version of PHP was created by Rasmus Lerdorf in 1994 and
he mainly used it on his home page to keep track of who was looking at
his online resume. In 1995, the first public version was published as the
Personal Home Page Tools.
In the beginning, PHP was just a simple programming language with
a very easy parser engine that only understood a small number of
utilities and macros.
PHP usage grown. In 1996, about 15,000 web sites were developed
with PHP; by 1997, it was up to 50,000. In 1999, about 1 million web
sites were developed with PHP. At the time of writing, 78 million of web
sites have been developed with PHP to give you a perspective of how
popular this programming language has become. Why?
Simple. Because after many years it is still easy to use, user-friendly,
and clearly organized. This helps would-be programmers easily
understand and run PHP commands and functions.
We want to help PHP beginners and would-be developers explore
the new features added to this version 8 and see how easy, flexible, and
powerful it can be to develop new web sites and applications.
You will find all the basic information about how to install and
configure PHP version 8.
All basic PHP concepts like data types, functions, regular
expressions, form handling and verification, sessions, cookies, and
filters are introduced and demonstrated with many examples.
We also introduce the basic information of object-oriented
programming and its classes and objects.
This book also provides some simple examples about how to use
PHP version 8 with one of the most powerful and used databases for
developers, MySQL. You learn how to develop an entire web application
using PHP version 8 and MySQL.
You also learn about PHP frameworks and why they are so
important to use. This book focuses on just two of the many PHP
frameworks available, Symfony and Laravel, and the development of
web applications following the model–view–controller architectural
pattern.
Who This Book Is For
The book assumes you have some web development and DB handling
knowledge. The book is written mainly for the beginning web
developer who wants to learn how to use PHP version 8 and how it can
be used with MySQL and PHP frameworks like laravel and Symfony. It
also assumes you have some knowledge of programing language
frameworks and how and when you should use them with PHP.
Prerequisites
The examples in this book were built with PHP version 8. We also used
MySQL for Ubuntu Linux version 22.04 DEB Bundle. As a testing tool,
we used the latest Postman API client version available on the Web, but
you are free to use any testing tool you feel comfortable with. Finally,
we introduced and utilized two different PHP Frameworks named
Laravel and Symfony, which will be needed for the examples of this
book.
"You have three quarters of an hour before your fly comes to fetch you,"
he said, "and Mayne has taken the Helstons to look at the church. I want to
show you something, if you would stroll down the lane with me."
To refuse would have been ridiculous; but as they went, she was acutely
conscious that this was the first time they had been alone together since the
day she had recognised him.
They were walking towards Lone Ash, and the wonderful beauty of the
May evening breathed incense about them as they went. Orchards
everywhere made the whole earth seem a-bloom. A glory of distant gorse
blazed on the horizon line.
After a few moments Melicent grew nervous, and felt she must speak.
"It's a pity the journey from London is so long," she said regretfully.
"The very point I want to raise," returned he, with unconcern which was
not overdone. "I think I need my architect on the spot, and I'm prepared to
pay to have her there. Ah!" as they turned a corner and a charming cottage
faced them, "this is what I want to show you. How do you like it?"
She stopped short, with a certain glow of feature and glint of the eye,
which was characteristic. As usual, when very pleased, she did not speak.
He watched her eyes as they dwelt on the rustic English beauty of the place.
The door was ajar. It opened upon a kitchen, beautifully clean and tidy,
evidently for ornament, not use. Within was a tiny parlour, with gate-leg
table, grandfather's clock and oak dresser.
"This is what I would ask my architect to put up with now and then, to
save her a good deal of going to and fro," said Brooke. "I have taken it for
three months, to accommodate my visitors, as there is no room in the inn."
Carried away by the sweetness of the place, she sat down upon the
window-seat.
He leaned against the print valance of the mantel, looking very large in
the tiny place.
"Do you like it? Would you like to stay here now and again?"
She turned her little head, its outlines sungilt against the light without,
and looked at him; and she answered like a child, accepting unconsciously
the suggestion of an older person.
"If that is so, you shall wait here and talk to Mrs. Barrett, and ask her to
show you the upstairs rooms, while I go and fetch the Helstons to look at it.
There will just be time."
CHAPTER XXIX
For three weeks, Melicent came down to the cottage on Tuesday and
stayed till Friday. The first twice Brenda had accompanied her; but Pater
grumbled, and the third time she came alone.
He was in great social request, and dined out most nights, often
hurrying away from the absorbing spectacle of the rising walls of his home
to lunch with some neighbouring magnate.
During the third week, except for their morning chat together, she
scarcely saw him at all until Friday afternoon.
The week had been wet and cold, and she had been tramping about in a
mackintosh and gaiters; but to-day was brilliantly fine, and she was
lunching al fresco, up at the works, being immensely interested in some
fresh boring operations then in progress in connection with her beloved
fish-pond. She was sitting upon a pile of dry planks, making a dessert of
almonds and raisins, and deep in a book, when she saw the Captain drive
up. He seldom brought the motor up to the works. He had his own cart now,
and a fast cob; and a trim young groom to look after them.
He sprang out, came up to where she sat, and began asking eager
questions about the boring. They talked shop for several minutes, he sitting
among the planks a little below her perch, bare-headed, and with his gaze
upon the long foundation-lines.
Then a short silence fell, while the exhilarating May air sang about
them. Looking straight before him, he said unconcernedly:
"Came to see if you cared for a drive this afternoon. It's a jolly day, and
I've got to go to Arnstock. Care to come?"
She hesitated. Why not? She had evicted Mrs. Grundy long ago, and on
what other grounds could she refuse? Yet something within said, "Don't," so
loudly as to drown the voice of calm reason.
"I think I'd better not. I'm waiting here to see them begin to lay the
damp course. Thanks all the same."
He looked at his watch. Then turned to her with a gleam in his eye.
"They quit work in an hour, so that reason won't do. Don't you trust
me?"
"I have no notion what you mean," said Melicent, instantly frozen.
"Then you don't consider it possible that I really may not wish to take a
drive this afternoon?"
"Seeing what the weather's been this week, and what it is to-day, and the
way you've been sticking to work, I think it's unlikely," he said calmly. He
rose. "Pity you won't come," he added. "They're enlarging Arnstock
Churchyard, and they've unearthed the head of a Saxon cross." Melicent
sprang involuntarily to her feet. He looked at her steadily. "Knot-work," he
said firmly. "As clean-cut as if it had been carved last week. They have got
several bits. Harland thinks they may find it all. That's what I'm going to
see."
She laughed a little uneasily. "I don't believe I can resist that," she said.
"Come along then," he replied coolly, picking up her warm coat from
the planks. "There's Alfred to play propriety, you know."
"I don't believe you've ever been to Arnstock," he said, as they bowled
lightly along the firm high-road. "You do nothing but stick to work. It isn't
good for you."
"I have been to tea with the Harlands, and I am going to dine there next
week. I don't know what more you can suggest in the way of dissipation.
I'm sorry if I am ridiculous about Lone Ash, but you must consider the
fascination of it. My first house—my dream! To see it taking shape before
my eyes!"
She gazed before her with eyes that saw visions, and Hubert looked at
her.
For just one moment she misunderstood—for one second she was on the
verge of self-betrayal. It was on her tongue to say: "I never pledged myself
to you!" when she saw the trap laid for her. Was it intentional? Swiftly she
flashed a look at him. No babe could have been more innocent in
expression.
"Marriage is not a thing you can talk about in the abstract," she said
irritably. "One marriage is not a bit like another. You can choose your own
kind, I suppose."
"Can you?" he asked urgently, in the candid tones of one seeking useful
information.
"Well, you see, here am I, alone in the world. I can hardly remember my
mother. I never had but one real friend—a man. I don't think I can
remember a woman speaking one solitary kind word to me until I turned up
in England with money. Now do you see, that friendless as I am, without
human ties of kith or kin, what seems to you just a convenient arrangement,
is to me the one possibility life offers? ... I wonder if you have ever thought
what it must be to live altogether without intimacies, as I have done, for
thirty years?"
There was a quiet, earnest simplicity in his voice which disarmed her.
Suddenly she saw him in a new light. He was no longer the relentless
pursuer, the man who hunted down a girl as his desired quarry. He was a
lonely, heart-hungry fellow, who had been starving for kind words, thirsting
for feminine sympathy. Seeing him in the light of what he had since
become, she revolted from the memory of her own hardness. She had been
the only English girl—the only creature with whom he felt affinity—in
Slabbert's Poort. Among all the degradation and savagery of the place, he
had stretched out appealing hands to the one woman who might have
understood. And she had never given him one kind word! He said he could
not remember one!
Without her own volition she felt her heart assailed with a rush of pity
and tenderness wholly new in her self-centred, balanced experience.
Without a word of reproach, with an almost bald simplicity, this man had
opened the flood-gates of compassion. He had done more; made her
ashamed of herself. She felt her face suffused with colour—she knew that
her eyes swam with tears. The brilliant sun, facing them as they drove
westward, almost blinded her. She felt she must say something; but the
effect of his words had been so unexpected, so overwhelming, that she
could not control her voice at once. At last, feeling that her lack of response
must seem unkind, she faltered out:
"I—I think so. I can't quite explain; what you said recalled something
else ... and I suppose I'm tired."
"Nevertheless," he replied, still below his breath, "I have had, at least
for a moment, the sympathy of a woman. I shan't forget that. I hope you
don't think I am in the habit of puling and drivelling about my lonely lot. I
don't know what impelled me to sentiment, but I assure you it is all over
now. See, there is Arnstock Church! We will have tea at the inn, and then
the workmen will be gone home, and we can have the churchyard to
ourselves."
They talked easily and naturally, like two between whom a barrier has
been swept away. Hubert told her of his search among his mother's papers,
his discovery there of the name of his grandfather's native village, his
coming to England, and his quest of what Lance called his ancestral acres.
Tea over, they proceeded to the churchyard, and spent a vivid half-hour
with the fragments of the Saxon cross and its knot-work. Melicent was in a
fever of eagerness to discover runes, but there were none. However, they
found what was almost as good, a series of grotesques down the sides of the
shaft.
The workmen had turned up almost all the pieces, and when Melicent
suggested, in a moment of inspiration, that the Captain should pay for its
restoration and erection in the churchyard, by way of inaugurating his reign
at Clunbury, he took up the idea with avidity.
They drove back almost in silence; but a silence so full for both, that
they hardly realised their lack of words.
At the lilac-decked cottage gate, Hubert jumped out, and as usual held
his hands to help her down. She had just drawn off her leather gloves, and
there seemed something significant and wonderful in the warm contact of
their bare hands. The light was not good. That, or something else, caused
her foot to slip on the high step.
For just one moment she felt an instinctive tightening of his grasp, and
one arm went round her so swiftly that all danger of a fall was over before
recognised. She was set on the ground ... she felt dizzy, and almost
staggered when released. For in that arresting instant, his mouth had been
close to her ear, and she thought a sentence came to her—that he said, so
low that she could scarcely hear:
She had regained her poise, drawn herself away, her eyes shot a
bewildered glance at him in the twilight. He did not look at her, but seemed
in a tremendous hurry to be off. He had jumped back into the cart and was
spinning down the lane before she had time to draw breath, or to ask herself
if he had really said what she thought she heard.
She stood there, listening to the brisk beat of the horse's hoofs on the
dry road, for quite a long time. Not a twig stirred in a stillness which
seemed almost portentous. The dampness and fragrance of earth and
growing things rose about her like incense. In a thicket not far distant, a
nightingale began to bubble and gurgle into song.
Had he said it? If so, what did he mean? To what was she to give in? To
the influence which that afternoon had softened, and as it were, dilated her
heart? To the new kindness which she felt for him?
Anger and self-will awoke. Her understanding, her emotions, her will
were and should remain in her own keeping. What was the sensation she
had experienced a moment ago, with his arms about her? She felt herself
blush scarlet in the darkness.
* * * * * * * *
THE TREACHERY
"Doubt you if, in some such moment
As she fixed me, she felt clearly
Ages past the soul existed,
Here an age 'tis resting merely,
And hence fleets again for ages,
While the true end, sole and single,
It stops here for, is this love-way,
With some other soul to mingle?
Melicent only came down to Clunbury for one day the following week;
and Mr. Helston was with her. The week after, she came for two days, and
brought Brenda.
For she no longer disliked Hubert. Her mental attitude had changed.
The enlightenment which his simple and sparing speech had brought to
her had been a veritable shock. She saw herself again as she had been at the
time of his early devotion—the despised Cinderella, the half-grown slattern,
the insolent, self-absorbed little upstart. Her own dulness of perception and
ingratitude began to show themselves to her in a strong light. She marvelled
at his constancy, and stood amazed at his insight. He had seen her, not as
she was, but as she might be. It was she who had been blind.
So she thought of him: and yet, at the bottom of her mind, lurked a
mysterious reluctance to go down to Lone Ash again.
She wrote to Lance more affectionately than she had ever done. She told
him she meant to be less hard, more unselfish, to do her best to respond to
the affection he lavished upon her.
Time was flowing swiftly past her. In three weeks he would be home!
At last Captain Brooke wrote to say that there was a question in the
builder's mind respecting an additional support at a point where the thrust of
the wall was greater than had been reckoned for. He added that the builder
and the engineer were quarrelling about the Lee-Simmons man-holes.
Moreover, the weathered tiles were beginning to arrive, and there was a
question raised as to the condition of some of them. There was no doubt
that her presence was necessary, and finally she went down, upon a day that
focussed in its heart all the tender glories of an English summer.
The lilacs were fading now, but pink may and golden laburnum flaunted
in beauty; and Melicent, as she cycled up the lane from the station, caught
the intoxicating fragrance of syringa.
"What a garden this is! I believe it holds a bit of everything in the world
that smells sweet!" she cried, as she greeted Mrs. Barrett. "It reminds me of
the garden in Solomon's Song. How this sunshine does make the spices
flow out!" As she spoke, she gathered a tiny spray of waxen syringa and a
cluster of double pink may, like wee Banksia roses, and fastened them in
her white gown. "After London, this is so wonderful!" she sighed.
"You look pale, miss. The fresh air'll set you up. The Captain was round
this morning to know if you'd come. He seemed that disappointed not to
find you. I expect now he'll think you're not coming down till to-morrow."
"Is he up at Lone Ash now, do you think?"
"I believe he will be, miss. Tommy, have you heard the Captain drive
back, down the lane?"
No, Tommy had not; he was sure the Cap'n had not returned.
"I'll have a glass of milk now, please, Mrs. Barrett, and then go up and
find him," said Melicent.
"There's been a gentleman had your rooms this week-end," said Mrs.
Barrett, as she provided refreshment. "Mr. Mayne, a clergyman. They do
say he's to be made a bishop. He was fine and took up with the building,
and as friendly as ever I see. I'm sure we oughter be grateful to the Lord for
sending of the Captain down here. A godsend to this village he be. There's
Carter down the lane, talked of drowning hisself, he did; wife and three
childer, no work to be had, nowhere to live if he got it. Now he's to have
head gardener's place, and Captain's going to build him a cottage, four
rooms and a kitchen! He just goes about, does the Captain, and finds out
truth about everybody. Nobody's going to get over him, not they! Keeps his
eyes skinned, and no mistake about it. Been into the bar of the Hearty
Welcome night after night since he's been staying there, and found out all he
wants to know about they chaps. He's got the whip-hand of the lot by now;
knows twice as much about 'em as what vicar does; and it's my belief, he'll
be the best served master in this county."
Melicent drank her milk absently. She wished, yet dreaded to see Hubert
again. Her novel mood of self-abasement craved humiliation. Since
realising how unlovable her conduct had been, she was invaded by
unreasonable desires to let him know that she was really not such a beast as
she seemed. A wish to tell him that she knew who he was, and would like to
be friends, assailed her like a temptation, though she knew that such
confidences would be the very height and apex of folly.
There was nothing for it, she firmly told herself, as she put on her shady
hat and mounted her bicycle, but to remain upon business terms.
It gave her a little shock of joy, as she neared the gate leading to the
Captain's property, to see the grey walls high enough to be clearly discerned
from the road.
She rode noiselessly over the pasture, dismounted at the hill, wheeled
her bicycle forward among the trees, and propped it against the trunk of a
big beech.
The workmen were gone. She could see Hubert sitting there, on the pile
of planks where she had sat last month. How long ago that seemed! How far
she had travelled since their drive together!
He did not appear to be doing anything but meditating. His arms rested
on his knees, his hands hung down between; he was looking at the ground.
Melicent was taken with a sudden conviction that it would be wise to turn
and run before he saw her. She combated the feeling with indignation. She
remembered how loath she had been to go that drive. And how glad she
now was that she went! It had made so vast a difference to her, she felt
something as Gareth felt when he unhorsed the dread Black Knight, and
found the rosy child within.
She came towards him from among the trees, in her white gown,
wearing a look he had never seen upon her face before in life, though he
had dreamed of it now and then. Her eyes seemed to have grown larger,
darker, softer. Her face was of that warm rose whiteness which relieves
itself so vividly and strangely against a white dress.
He stood up; but absorbed in the picture she made, he did not advance
to greet her.
"I thought you had not come," he said; and even to say so much was an
effort.
"I had things to do." She smiled. "Some of that shopping you reminded
me of the other day! I came by the later train."
He recollected himself.
"The best," answered Melicent quietly. "He will be home in less than
three weeks."
He had been staring at the grass, but on that he raised his eyes.
"The day is not fixed; only that it will be at Fransdale." There was a
pause, and to fill it she said: "I hear Mr. Mayne has been here."
"So I told him," said Captain Brooke slowly, balancing a long screw-
driver with which he was playing across one finger of his left hand.
She gave an odd, excited laugh. "I don't ask; I order you to tell me."
He gazed upon her, so absorbed in his thoughts about her, that the
subject in hand faded out of sight. She could not meet his look. Tossing her
head, she turned a little away.
"Captain Brooke, what is the matter with you? We were talking of Mr.
Mayne. We had better leave off if you are not attending, and go and look at
those tiles."
"The more serious matter is the water," he said, shaking off his
preoccupation and sensibly relieved by the change of subject.
He led the way from where they stood to a pit four feet deep, with a
stand-pipe projecting from the newly-turned soil. Kneeling down on the
edge, he bent over, and turned on the union tap, which had been fixed for
connection with a rubber hose. The girl gave a mortified exclamation:
He acquiesced.
"You shall have it, if there's water in Wiltshire," he began; then stopping
dead—"I mean, the thing must be made to act somehow. By the way, there's
Alfred with the cart. I'll send him back for the rod; he can bring it in a few
minutes."
"Lend me your wrench, then, and I'll get the tap right off," said the girl.
He handed her the tool she asked for, and went off across the field to
give his directions.
She jumped down into the muddy pit, and set herself to unscrew the tap.
It was not very easy, but she managed it at last; and then, with the thing in
her hand, remained in her crouching attitude, examining it to see if there
was any obstruction.
There was a sound like a deep sigh—a rush like heavy rain—a jet of
yellow water flew from the pipe, hit the opposite side of the pit with great
violence, and before she knew what had happened, she was over her ankles
in water. In a calmer moment, she would have scaled the miry sides of the
pit, regardless of appearances; but she was not calm, and she lost her head.
The unexpected nature of the thing scared her—she had the idea that if once
she let the pit fill, they would be unable to stop the flow; and so, with a
spring, she flung herself upon the pipe, clasping her two hands rigidly about
it, and stanching the most part of the rush. But the strength of the pulsing
water was great, her footing slimy, her purchase feeble. Raising her voice,
regardless of all but the emergency, she cried aloud:
He had only just dismissed Alfred on his errand, and was hurrying back,
when that sound smote his ear. He broke into a laugh of pure joy as he
heard it, but he ran with all his might.
The moment he got to the brink of the pit, he saw what was happening;
and he, too, lost his head. Instead of calling to her to let go, and holding
down his hands to draw her up, at the expense of a drenching, he forthwith
sprang down, placed himself beside her, and locked his hands over hers.
The fact of his doing this bereft her of all power of speech.
She was totally unconscious of having called him by name; she did not
know the reason of his kindled, glowing look. Neither, for a few long-
drawn seconds, considered what was to be done. They simply stood there,
so acutely conscious of each other that nothing else in all the universe
seemed real.
"Just long enough for Alfred to get back," he whispered. "He can't be
ten minutes. He can have the thing ready to screw on, and save you a deluge
—"
"Nonsense!" she uttered feebly. "We can't hold on here for ten minutes!
We can't, simply."
"I wish we could hold on for ever," he jerked out, his voice sunk to a
note that made her quail.
A dull beat was hammering through her senses. Was it his heart or hers,
or the pulse of Time itself?
Was it he who bent to her, or was the impulse that drew them mutual?
* * * * * * * *
It was over. The world that had stood at gaze like Joshua's moon on
Ajalon, swung on once more her dance among the stars.
Melicent stood there, in the fair June evening, at the side of the man
who had kissed her. The wind came softly over meadows deep in
buttercups, and bent the white lacy sprays of delicate wild parsley which
fringed them. High in the blue sky the lark stormed heaven's gate with song.
"Let me go!" she cried, with a stifled sob. "I must go! Don't you see that
I must?"
It was a moment before he replied; but when he did, his voice was
perfectly composed and cool.
"As soon as you feel the pressure of my hands relax, slip yours
downwards," he said.
"There! Oh, why couldn't you do that before?" she cried passionately, as
she made a frantic onslaught upon the crumbling side of the pit.
She was up and away in a minute, her white frock soaked, her feet
caked in pale yellow mud. She ran across the grass, never stopping to look
behind, and met the bewildered Alfred just at the edge of the plantation.
"Hurry to the Captain," she gasped. "The water has started to run and he
can't stop it. I must go home and change!"
Her throat was so dry she could hardly speak. In feverish, stumbling
haste she mounted her bicycle, and rode down the bumpy grass slope at a
dangerous pace. Mercifully the gate into the lane stood wide, and she was
through it and back at the cottage in a couple of minutes.
Alfred found his master up to the knees in what looked like weak tea
with cream in it. Between them they managed to re-fix the tap, connect the
long hose, and set the liquid flowing into Melicent's fish-pond.
Emerging from the pit, the Captain looked at his legs—he was wearing
a cool, summer suit of light grey flannel.
"Yessir!" said Alfred, who had prudently removed his own smart leg-
wear before venturing to the rescue.
"Joseph was better off than I am, Alfred. His pit was dry—there was no
water in it."
"I hope she won't take cold," said the Captain, with polite solicitude;
"but fortunately the day is warm. Get on your boots, Alfred. I'll let this thing
run all night, and perhaps there'll be something to show for it in the
morning. There must have been something in the pipe, and the force of the
water dislodged it, I suppose."
Melicent, lying upon her bed with hidden face, heard the cart go past the
cottage. The beat of the hoofs was not interrupted; they passed by without
stopping; and the tension of her strained nerves relaxed.
CHAPTER XXXI
THE REPUDIATION
"Escape me?
Never—
Beloved!
While I am I and you are you,
So long as the world contains us both,
Me the loving and you the loth,
While the one eludes must the other pursue."
—ROBERT BROWNING.
The delicate veil of sapphire which June calls night was drawn across
the splendour of the sky; and it was like the device of a beauty who wears a
transparent gauze to enhance the glitter of her diamonds.
In the north still lingered a supernal glow, the hint of the day that has no
night.
It was very dark among the lilacs by the cottage gate. Peering through
the thick boughs, he started; for there was no lamplight, either in the parlour
or the room above it. And he believed that she had fled from him.
This gave a jolt to the pleasing elation of his spirits. Walking on the
grass, he approached the open door without noise. Then he halted.
The casements of the parlour were wide open to the summer night. On
the window-sill lay a girl's abased head, the fair hair just touched by the
star-glimmer, the face hidden in her arms.
She lay very still, and was apparently not weeping. He went up to her,
resisting with firmness his great desire to lay his hand upon her hair. For the
first time in years he spoke the name that stood for all his ambitions.
"Millie," he said softly.
"Oh, I wonder how you dare come near me!" she cried.
"I won't come near you. I'll stay outside here," he said hastily, with a
bewildered sense of having lost the thread of the situation.
"No, of course," he said meekly, his head fairly spinning with wonder;
"but I thought you would see I had to come and beg your pardon."
She stood up, withdrawing herself into the room, as if she meant to
escape.
He contemplated this idea. "Do you mean that you never can forgive
me?"
"Perhaps I mean that I never can forgive myself," she said chokingly.
"You—you have humbled my pride to the dust. Lance ... trusts me, and I
have ... How am I to face him?"
He was at a loss. Ready enough had he been to console her, to tell her
that Fate was too strong for her, to urge her to correct her mistake before it
was too late. Her present attitude stunned him, and bereft him of words. The
dashing of the high hopes with which he had come bred in him a sudden
sense of being wronged.
"Millie," he expostulated, "do you know what you said—up there when
the water rushed out upon you? You called out: 'Bert! Bert!'"
"Did I say that?" she said slowly. "Then it is I who have betrayed
myself, and you—are not so much to blame as I thought. I can believe that
it excited you a little to find that I knew you, and made you think of old
times." She hesitated, seeming at a loss what to say or do; her
embarrassment was obvious, her distress manifest. Then, with sudden
determination, she came near the window again. "If that is true, I suppose I
must forgive you," she said stiffly, "and we must both forget a mad
moment."
He could hardly believe his ears. "Is that all you have to say?" he
demanded harshly.
The man drew in his breath sharply. "After all that has come and gone?"
he panted.
"Captain Brooke, for a moment this afternoon I allowed myself and you
to forget that I am engaged to your friend. I must remind you of it now."
"I wish to God that I had let him drown in the drift!" he flung out. "Or
that I had drowned myself—!"
"I don't wish to be hard or unkind, but I cannot listen to you. I am going
to close the window."
He inserted his shoulder, so that she could not close it. The expression
of his eyes was such that she dare not face him.
"Answer me one question," he commanded brusquely. There was a
growl in his voice that she knew of old as a storm-signal. "I have a right to
ask it, and you ought to answer—you shall answer! When I kissed you to-
day ... was it against your will?"
Her expression made him feel as if he had slashed her across the face.
Had she accepted defeat in that moment—said anything to appease the
man's mounting wrath—he might have kept his head. But pain or insult had
never the effect of softening Melicent, but only of stiffening her. His taunt
stung her to real anger, and, in the midst of her stifled consciousness that
she was fighting a losing battle, she clutched at her indignation as at a blade
with which she might wound. She had moved towards the door with the
intention of escape, but now she returned to the window.
"You think you have the right to ask me that?" she said, with the same
ruthless arrogance that she might have used to him in Africa. "You say that
to me—you, who hope to turn into something that people may take for an
English gentleman! ... You did that this afternoon to get a hold over me! I
know your threat! You needn't say it! You mean that, if I don't tell Lance,
you will! ... And you suppose I care if you do, or what you do, or anything
about you...!"
Before she had got so far, Bert had flung his leg over the sill and vaulted
lightly into the room. He came quite close to her, but spoke quietly, under
his breath, with an air of desperately holding himself in.
"All right!" he said. "You say you don't care, do you? Well, then, if you
say so, I say you lie! You lie, do you hear me?"
"You had better go away before you grow unpardonable," said the girl
coldly.
"I'll go when I've said what I'm going to say, and not before. I'm going
to tell you the cold truth here and now. The Brooke farce is played out, we
know each other, and you shall hear what I have to say! You—kissed—me
to-day!—great God! do you suppose I don't know that you did?—and you
did it because—"
Slight things decide momentous issues. Even then an appeal, the
smallest sign of surrender on the girl's part, would have brought him
crouching to her feet. But she flung back her head, and looked him in the
eyes to show how little she feared him; and she laughed.
That let loose the tempest. All in a moment he broke off his husky,
difficult words. All in a moment he had her by the waist, crushing her to
him as if holding her against an army. There was no love in the fierce hold,
only the determination that she should hear the cruel words that he spoke
into her ear:
"Because you love me! Because you love me! Because you're mine—
mine—mine!"
The girl who, that golden afternoon had yielded to his spell, had
weakened, had been as it were his to take, now lay like a lifeless thing in his
ungentle hold. He realised what he had done.
When he let her go, she did, by an effort, stand alone. Her laugh of
scorn was quenched. She lifted one hand to hide the quivering of her mouth,
but did not move at once, perhaps because she feared to fall. He turned
away from the still, silent, accusing figure with a kind of roar of helpless
strength, of baffled will.
"The same, the same as ever," he said. "The woman's way! To make me
feel a great, rough brute, when all the time it's you that are cruel. Yes! As
cruel as a fiend."
To and fro he paced, to and fro upon the floor; then, with sense of defeat
in overwhelming bitterness, got to his knees at her feet.
He knew that his fatal moment of uncontrolled temper had undone all
that the past weeks had gained so painfully and slowly. Beneath his shame
was an undercurrent of conviction that he was right and she wrong. But
what was right or justice in face of Melicent's inflexibility?
"I'm sorry. I'm a brute. But it's your fault. You know what you can do
with me," he said chokingly.
"Get up!" said her exhausted voice. "Get up, do! Go away. You see you
are ... impossible. I thought you had improved, but you see it's all ... just as
bad as ever."
"Millie!"
"You know I am not such a hound as to think I have any hold ... or to
use it, if I had?"
"What does it matter to me?" She moved: he held a fold of her gown.
"Are you going to detain me?" she asked. "Because if so, I shall call Mrs.
Barrett. This is not love—oh, no, nor anything like it; it's simply your fixed
determination to have your own way. I've always known it, all these years
—that you were not beaten, that you meant to try again. Not for love of me,
but simply because to conquer me is your fixed idea. And this afternoon
you thought you had succeeded. Well, you haven't, that's all."
"Millie, see me again! Don't let it end here! I've lost my head, and don't
know what I am saying. Give me a chance to talk things out—"
"Never, never, never!" she shuddered, making for the door. There she
turned upon him. "You are a savage! If you knew how I hate savagery! You
are a Boer! If you knew how I hate the Boers! I'll marry a man who knows
how to treat a woman, not one whose civilisation is only skin-deep." He
took two maddened strides towards her. "Has that hurt you? Very well, then,
you can kill me, you know. I wonder you don't."
He passed a hand over his hair like one pushing a veil from his eyes.
"I can tell you why I don't," he said, in tones that rapped out sharp as a
rapier thrust. "It's because you're not worth it."
Almost before he had spoken, he had turned about, sprung from the
window, and disappeared. The starshine glimmered in the silent room where
a moment ago had been such storm and stress.
At last, it seemed, the long struggle was over. Not because Bert realised
that she was out of reach, but because suddenly he had awoke from his
dream to find her not worth fighting for.
She told herself that, whatever the means, the thing was done, and
finally done now. There would be no more vehement assaults for her to
dread.
Yet something unpleasantly like remorse was gnawing at her heart. She
knew she had said things she did not mean; in the heat of battle she had
caught up every missile....
Well, now it was over. Silence and solitude were profound. The air
which had vibrated to Bert's rage and Bert's repentance was so still that the
nightingale's song sounded too loud in her ears.
"All over!" she said aloud; and the words sounded strange and horrible.
"All over!" She crept upstairs to a sleepless night; but this of late had
been no rare thing with her.
* * * * * * * *
In the early morning she went away to London, choosing a route to the
station which should not take her past the inn.
And for weeks the grey walls of Lone Ash rose higher in their dignified
beauty, unseen by the eyes of her for whom they were being raised, and
whose genius had called them into being.
CHAPTER XXXII
Since her fiancé's return she had altered noticeably, both in appearance
and manner. She was paler than usual, large-eyed and languid; and she had
grown strangely gentle and yielding. She deferred to Lancelot in
everything; and since two people cannot possibly continue to kneel at each
other's feet, and as Melicent persistently adopted the lowly posture formerly
monopolised by her lover, he had, as a result, grown the least bit dictatorial.
At the end of July the Fransdale Sports took place, an annual event of
the highest local importance. They were held in a meadow near the head of
the Dale, not far below the Vicarage. The meadow sloped violently, but the
fact was accepted by the natives as part of an inexorable law of Nature. All
fields sloped; you might as well quarrel with the grass for being green.
From early morning the little heathery tracks leading down from the
Riggs were black with a crawling line of folks, descending Indian file by
devious ways to the scene of action. Traps of all kinds, crowded with
passengers, began to arrive, and to distribute themselves in all the
neighbouring stable-yards, which were soon filled to overflowing.
As the day wore on, the whole scene was alive with colour. Exhibits of
butter, eggs, vegetables and fruit, were being solemnly appraised by
business-like judges. There was a cackle of fowls, a cooing of doves, the
outraged cries of lordly rams tethered to stakes and with coloured ribbons
round their horns.
And the band! One of the visitors remarked that it was worth coming
far, if only to see that band!
The musicians sat upon boards in the large hay-cart in which they had
been conveyed to the festal scene, and from which the horses had been
removed. Their broad and solid backs, in every hue of weather-stained
fustian, formed a study for the eye of the humorously inclined.
Then, of course, there were cocoa-nut shies and gingerbread stalls, and
a wheel of fortune. For this one day in the year the austere solitude of the
moorland was broken through, and Fransdale was actually noisy and
crowded.
Among the throng, which grew thicker as the day wore into afternoon,
was a sprinkling of gentry, conspicuous among whom were the Burmesters.
Sir Joseph took a genuine interest in all the exhibits, and gave many
valuable prizes. There was naturally great interest among all the natives
over Lancelot's engagement. Melicent was a most popular person, and
glances of affectionate admiration followed her to-day.
She wore a white lace gown, with La France roses, and her white
sunshade was lined with rose colour. Brenda thought she had never seen her
look so pretty, nor so sad.
"The Ayres' party are here," said Lance, strolling up to where his mother
stood, with Mrs. Helston and Melicent, watching the first heats of a race run
off. "They've brought their tame crowd of convalescents with them."
"Did you know," said Lady Burmester, "that the Ayres' offered their
house for a Convalescent Home for wounded officers? That will arouse
enthusiasm, won't it, Lance? The people will cheer, if they know there are
African heroes about."
"Oh," said Lance, "I forgot to tell you, Mrs. Helston, I have at last
persuaded the obstinate old beggar to leave his beloved house to build itself
for a few weeks, and to come up here for a bit of rest."
"Oh, well done!" said Brenda, with animation. "I should have been so
sorry for him not to have been at the wedding."
"He won't promise that, even now. You know, I wanted him to be best
man. He says weddings are not at all in his line. But when we get him here,
perhaps you and Melicent can persuade him."