-
Zephir is language that makes easier wirting extensions for PHP -> http://zephir-lang.com/
There is puppet module for that -> https://github.com/pennycoders/puppet-phalconphp
It should make easier to …
-
like php here:
http://php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
``` php
const VARIABLE_REGEX =
-
I recently noticed the similar project [loccount](https://gitlab.com/esr/loccount) and it looks like it supports several languages that we currently don't. I'm dropping them here in case anyone is lo…
-
Is it planned to support [Symmetric array destructuring](http://php.net/manual/en/migration71.new-features.php#migration71.new-features.symmetric-array-destructuring)?
```php
//prior to php 7.1
l…
-
``` zephir
namespace ZephirBug;
class bug1
{
public function whatsisMyvar(myvar)
{
if is_string(myvar) {
return "is a var";
} elseif is_string(myvar[0]) {…
-
I have a few issues with the syntax parsing in this case. It uses it's own parser so I would expect it to be better. Expressions should just work.
I have a weird little bit of code like this:
```
…
-
If I do var x = (int)(a - b); I get unknown type, cast. It seems to just be hoping for a literal type or something (somehow magically works for function calls though).
Anonymous functions also don'…
-
``` php
class Test
{
public static function testStaticScope()
{
static somevar;
let somevar = "static var";
var_dump(somevar);
}
}
```
causes Zephir\ParseExcep…
-
From documentation
```
In PHP, you can place code in any file, without a specific structure. In Zephir, every file must contain a class (and just one class). Every class must have a namespace, an…
-
See https://github.com/phalcon/cphalcon/pull/14193
@sergeyklay @niden
```php
$validation = new Phalcon\Validation();
$validation->bind(
new stdClass(),
[
'day' => date('d'),
]
);
$…