peachpie icon indicating copy to clipboard operation
peachpie copied to clipboard

Missing tests tracking issue

Open jakubmisek opened this issue 5 years ago • 0 comments

We have a bunch of features without being tested properly. Updated continuously.

  • [ ] include __DIR__ . "/subdir/file.php"; to get resolved in compile time. Add counter to Context.Include(string) to check it won't get called.
  • [ ] recursions in call graph resulting in some blocks not being analyzed
  • [ ] allow to compile "new Ns\Fn;" (not working in PHP7, works in PHP8)
  • [x] $x->foo( $arr[$key] ) where $arr is SplObjectStorage, $key is object`, $key must not be converted to IntStringKey
  • [x] CLR indexers (accessing Dictionary in foreach, [] setter, [] getter)
  • [x] json_encode() to reset json_last_error() to zero
  • [ ] MySql functions
  • [ ] PDO tests
    • [ ] FETCH_COLUMN https://github.com/peachpiecompiler/peachpie/issues/956#issuecomment-838972850
  • [x] fdiv
  • [x] str_contains
  • [x] EOL at end of HEREDOC https://github.com/peachpiecompiler/peachpie/issues/798
  • [ ] compile with msbuild on .NET Framework (i.e. build project inside Visual Studio)
  • [ ] match expression
  • [x] json_encode on SimpleXmlElement https://github.com/peachpiecompiler/peachpie/issues/863
  • [ ] aspnet core middleware, requesting various paths and checking PATH_INFO https://github.com/peachpiecompiler/peachpie/issues/860
  • [x] random_int() and extreme min/max
  • [ ] dateinterval_001 - problem with summer time
  • [ ] attribute without arguments i.e. #[Deprecated]
  • [x] bcmath functions
  • [ ] get_mangled_object_vars, get_object_vars (stdClass, regular class, ArrayObject, Traversable)
  • [ ] use T; (trait) must invoke autoloading of T
  • [ ] exit code of console application (https://github.com/peachpiecompiler/peachpie/issues/917)
  • [x] unset on aliased values (https://github.com/peachpiecompiler/peachpie/issues/906)
  • [ ] get_resource_type($im) == "gd" for gd image resources
  • [x] str_repeat with 8bit data (https://github.com/peachpiecompiler/peachpie/issues/948)
  • [ ] stream_get_meta_data() ["mode"] for w+, r+, a, c, x
  • [x] mb_substr for 8bit data
  • [ ] fstat for file opened for writing (https://github.com/peachpiecompiler/peachpie/issues/949)

jakubmisek avatar May 15 '20 13:05 jakubmisek