313 Commits (72782b147ab24f113c910c466431b1dbbfed3cb4)

Author SHA1 Message Date
  Rafal Kupiec 2a4e47e782
I hope this finally fixes the default argument value. 2 years ago
  Rafal Kupiec 95c9fd0f1f
Corrections in builtin library. 2 years ago
  Rafal Kupiec d8f9db8f9a
Proper implementation of is_callback() & is_callable(). First one only performs a check if variable type is callback, while the second checks if function exists and if can be called. 2 years ago
  Rafal Kupiec 65e38a364d
Do not try to call an array. 2 years ago
  Rafal Kupiec d6434ba19e
Try to report some line. 2 years ago
  Rafal Kupiec 447910ce2e
Fix callbacks. 2 years ago
  Rafal Kupiec 77795bea4c
Do not check for return value on OP_DONE. 2 years ago
  Rafal Kupiec 598dc9ce51
At least try to call callback and do not check for return value on OP_DONE. 2 years ago
  Rafal Kupiec 7443663dd8
Fixes in PH7_OP_LOAD_IDX instruction. 2 years ago
  Rafal Kupiec f6e2b549b6
Access to undefined array index should be reported as error. 2 years ago
  Rafal Kupiec a501dea661
Fix a typo. 2 years ago
  Rafal Kupiec 25001ae746
This should be an error, really. 2 years ago
  Rafal Kupiec 2de455aa01
Fix formatting. 2 years ago
  Rafal Kupiec 95fba30f9b
Better way to check arguments compatibility. 2 years ago
  Rafal Kupiec a06573408e
Better way to check arguments compatibility. 2 years ago
  Rafal Kupiec 5d369ba851
Fix static variables. Now access to non-initialized arrays member does not result in segmentation fault. 2 years ago
  Rafal Kupiec 9880f9963e
Fix static and non-static class attributes. Now access to non-initialized arrays member does not result in segmentation fault. 2 years ago
  Rafal Kupiec 7ec7ade171
Return a character from string if it is not ar array. 2 years ago
  Rafal Kupiec 01c210984e
Further optimisations. 2 years ago
  Rafal Kupiec 5eeceb6927
Try to optimize the code a bit. 2 years ago
  Rafal Kupiec 4467ca6dce
Attempt to fix static variables. 2 years ago
  Rafal Kupiec 5463da88b0
Attempt to fix non-static class attributes. 2 years ago
  Rafal Kupiec d4d00db458
Attempt to fix static class attributes. 2 years ago
  Rafal Kupiec 8133c3dd6f
Make a use of PH7_MemObjSafeStore(). 2 years ago
  Rafal Kupiec fb50d8de25
Correct the comment. 2 years ago
  Rafal Kupiec 803516cf84
This will never happen. 2 years ago
  Rafal Kupiec c6397d2e15
Use P2 to avoid strict typehinting. 2 years ago
  Rafal Kupiec 253fe327ef
Automatically fallback mixed variable to void (NULL). 2 years ago
  Rafal Kupiec 3f205c19ce
Get rid of dirty references. Return a reference & pass-by reference are still working. 2 years ago
  Rafal Kupiec f5960d57b1
Allow static class attributes to store compatible data types only. 2 years ago
  Rafal Kupiec 01f1932230
Respect the class attribute data type. 2 years ago
  Rafal Kupiec 47cca096bc
Fix segmentation fault when trying to access array element. 2 years ago
  Rafal Kupiec 140bd35f93
Set proper type for all class attributes. 2 years ago
  Rafal Kupiec a013cee2d1
Properly serve the arrays. 2 years ago
  Rafal Kupiec e4dc9f641e
Invert the logic. Variable needs to be declared. 2 years ago
  Rafal Kupiec 9303517b9e
Fix return by reference. 2 years ago
  Rafal Kupiec 04c56c9041
Multidimensional array of the same type should not be marked as mixed. 2 years ago
  Rafal Kupiec fa295b9437
It's callback, not callable. 2 years ago
  Rafal Kupiec 4f29507c0d
The isset() function always results in true, thus it is useless. If passed as argument variable is not set, the interpreter will throw an error. 2 years ago
  Rafal Kupiec 9d7a542aea
The is_null() is useless now, as it always returns FALSE. 2 years ago
  Rafal Kupiec 154469f475
Variable cannot be typecasted to NULL. 2 years ago
  Rafal Kupiec 9a41f7195d
AerScript does not implement any error control operator. 2 years ago
  Rafal Kupiec 65b178932a
Get rid of array() & list() for the new syntax. 2 years ago
  Rafal Kupiec 90b5a8797a
Fix a bug allowing to pass an array as argument to the method/closure that takes a scalar. 2 years ago
  Rafal Kupiec 7b1ed59f41
Basic check if all methods declared in interface are also defined in class. 2 years ago
  Rafal Kupiec 3d23d43040
Enable garbage collector for Program class. This also partially fixes #47, as from now Program::__destruct() will be called automatically. 2 years ago
  Rafal Kupiec 6ca08c9c4a
Fix typo and builtin library. 2 years ago
  Rafal Kupiec 55b652c740
Verify that Program::main() returns a value of int or void. 2 years ago
  Rafal Kupiec fe898ec7e7
Update builtin library to follow new syntax. 2 years ago
  Rafal Kupiec 9934489ed9
Fix build. 2 years ago