mirror of
https://github.com/deuill/go-php.git
synced 2024-09-21 08:50:45 +00:00
Alex Palaistras
6fa93f5160
This commit contains an initial version of variable bindings to a context, along with tests. Currently supported types are integers, floating point numbers, and strings.
9 lines
75 B
PHP
9 lines
75 B
PHP
<?php
|
|
|
|
if (isset($i)) {
|
|
$i += 1;
|
|
} else {
|
|
$i = 0;
|
|
}
|
|
|
|
echo serialize($$i); |