1
0
mirror of https://github.com/deuill/go-php.git synced 2024-09-21 08:50:45 +00:00
go-php/test/bind.php
Alex Palaistras 6fa93f5160 First version of variable bindings to context.
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.
2015-09-20 01:16:43 +01:00

9 lines
75 B
PHP

<?php
if (isset($i)) {
$i += 1;
} else {
$i = 0;
}
echo serialize($$i);