mirror of
https://github.com/restoreddev/phpapprentice.git
synced 2025-08-05 06:17:37 +02:00
3
assets/files/robots.txt
Normal file
3
assets/files/robots.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
User-agent: *
|
||||
Disallow:
|
||||
Sitemap: https://phpapprentice.com/sitemap.xml
|
117
assets/files/sitemap.xml
Normal file
117
assets/files/sitemap.xml
Normal file
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset
|
||||
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
||||
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
||||
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->
|
||||
|
||||
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>1.00</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/installing-php.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/basics.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/variables.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/arithmetic.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/strings.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/comparisons.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/boolean-logic.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/conditionals.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/loops.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/arrays.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/functions.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/classes.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/classes-inheritance.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/classes-visibility.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/classes-constructor.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/static.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/interfaces.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/abstract.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/exceptions.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://phpapprentice.com/credits.html</loc>
|
||||
<lastmod>2018-12-27T01:20:29+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
|
||||
|
||||
</urlset>
|
@@ -1,6 +1,8 @@
|
||||
<?php
|
||||
|
||||
// In PHP, arrays are used to store a list of items in a single variable.
|
||||
// There are two ways to create an array.
|
||||
|
||||
// First, you can use the array construct to pass in values separated by commas
|
||||
// and it will return an array.
|
||||
$taskList = array('grocery store', 'change car oil');
|
||||
|
@@ -20,7 +20,7 @@ $processor = new Processor();
|
||||
$processor->charge('1234');
|
||||
|
||||
// A developer who wants to prevent an exception from stopping code execution
|
||||
// can catch the exception and use it for logging or a return an error to a user.
|
||||
// can catch the exception and use it for logging or display the error to a user.
|
||||
|
||||
// Just wrap the code that might throw an exception with the keyword "try" and brackets
|
||||
// followed by "catch", the exception type in parentheses and more brackets.
|
||||
|
Reference in New Issue
Block a user