Fix indentation in PHP7 and PHP5 variables example
This commit is contained in:
parent
c6bff3731e
commit
74fa7d00e2
2 changed files with 4 additions and 4 deletions
|
|
@ -26,10 +26,10 @@
|
||||||
echo "pt = ".pt_get(), point_print(pt_get()) , "\n";
|
echo "pt = ".pt_get(), point_print(pt_get()) , "\n";
|
||||||
|
|
||||||
/* Try to set the values of some global variables */
|
/* Try to set the values of some global variables */
|
||||||
$a = "42.14";
|
$a = "42.14";
|
||||||
|
|
||||||
ivar_set($a);
|
ivar_set($a);
|
||||||
echo "a = $a\n";
|
echo "a = $a\n";
|
||||||
svar_set(-31000);
|
svar_set(-31000);
|
||||||
lvar_set(65537);
|
lvar_set(65537);
|
||||||
uivar_set(123456);
|
uivar_set(123456);
|
||||||
|
|
|
||||||
|
|
@ -26,10 +26,10 @@
|
||||||
echo "pt = ".pt_get(), point_print(pt_get()) , "\n";
|
echo "pt = ".pt_get(), point_print(pt_get()) , "\n";
|
||||||
|
|
||||||
/* Try to set the values of some global variables */
|
/* Try to set the values of some global variables */
|
||||||
$a = "42.14";
|
$a = "42.14";
|
||||||
|
|
||||||
ivar_set($a);
|
ivar_set($a);
|
||||||
echo "a = $a\n";
|
echo "a = $a\n";
|
||||||
svar_set(-31000);
|
svar_set(-31000);
|
||||||
lvar_set(65537);
|
lvar_set(65537);
|
||||||
uivar_set(123456);
|
uivar_set(123456);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue