Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Michal Musil
phpecko
Commits
d015c669
Unverified
Commit
d015c669
authored
5 years ago
by
MichalMusilovic
Committed by
GitHub
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Add files via upload
parents
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
0 deletions
+57
-0
index.php
index.php
+57
-0
No files found.
index.php
0 → 100644
View file @
d015c669
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<meta
charset=
"UTF-8"
>
<title></title>
</head>
<body>
<?php
echo
$zapnuto
=
true
;
//boolean
echo
$nazev
=
"Hornbach"
;
//string
echo
$cena
=
0.001
;
//float
echo
$cislo
=
69
;
//integer
print
$vypnuto
=
false
;
print
$jmeno
=
"petr"
;
print
$cenik
=
1.021
;
print
$cislovka
=
1
;
$cenovka
=
$cislo
.
$cena
;
//spojeni retezce
echo
"<a href=
\"
index.php
\"
>Obrazek</a>"
;
//img element s escape sekvenci
echo
"
\\
"
;
//zpetne lomitko
$a
=
20
;
$b
=
4
;
var_dump
(
$a
+
$b
);
var_dump
(
$a
-
$b
);
var_dump
(
$a
/
$b
);
var_dump
(
$a
*
$b
);
var_dump
(
$a
++
);
var_dump
(
$a
--
);
var_dump
(
$a
+=
$b
);
var_dump
(
$a
-=
$b
);
var_dump
(
$a
*=
$b
);
var_dump
(
$a
/=
$b
);
var_dump
(
$a
==
$b
);
var_dump
(
$a
!=
$b
);
var_dump
(
$a
>
$b
);
var_dump
(
$a
<
$b
);
var_dump
(
$a
||
$b
);
var_dump
(
$a
&&
$b
);
var_dump
(
!
$a
);
?>
</body>
</html>
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment