Eine Route und Template show erstellen mit
- Titel als
<H/> - Inhalt als
<div/>
Die ID soll übergeben (/show/1) und geladen (SELECT * FROM page WHERE id = 1) werden.
| <?php | |
| $c = curl_init(); | |
| curl_setopt_array($c, array( | |
| CURLOPT_URL => $argv[1], | |
| CURLOPT_RETURNTRANSFER => 1, | |
| CURLOPT_VERBOSE => true | |
| )); | |
| $r = curl_exec($c); | |
| if (curl_errno($c)) { | |
| die(curl_error($c)); |
| FROM amazonlinux:2 | |
| RUN amazon-linux-extras install epel | |
| RUN amazon-linux-extras install php7.2=7.2.13 | |
| RUN yum install -y http://rpms.remirepo.net/enterprise/remi-release-7.rpm && \ | |
| yum install -y yum-utils && \ | |
| yum-config-manager --enable remi-safe | |
| RUN yum install -y --enablerepo=remi-php72 php-mbstring php-pecl-libsodium | |
| RUN yum install -y --enablerepo=remi-php72 php-pecl-uopz-5.1.0 |
| 0 ansible2 available \ | |
| [ =2.4.2 =2.4.6 =2.8 =stable ] | |
| 1 *emacs=latest enabled [ =25.3 ] | |
| 2 httpd_modules available [ =1.0 ] | |
| 3 memcached1.5 available \ | |
| [ =1.5.1 =1.5.16 =1.5.17 ] | |
| 4 *nginx1.12=latest enabled [ =1.12.2 ] | |
| 5 postgresql9.6 available [ =9.6.6 =9.6.8 ] | |
| 6 postgresql10 available [ =10 ] | |
| 7 *python3=latest enabled [ =3.6.2 ] |
Most programming languages implement unitialized values as NULL, ZERO, random data, something special (JavaScript: undefined) or an empty string. In XML an element can be empty in two ways and in DOM the textContent property is an empty string for both.
Valid examples:
<TodoItem/>| <?php | |
| /** | |
| * https://wiki.php.net/rfc/engine_warnings | |
| */ | |
| // old-Level: Message > new-Level | phpstan-level | |
| #$o = null; | |
| // Warning: Creating default object from empty value > Error: Attempt to assign property "p" on null | 2 | |
| #$o->p = 0; |