Alexey V. Vasilyev

Results 4 comments of Alexey V. Vasilyev

popen()/shell_exec() quick hack implementation. Please review it and integrate as you wish. Attention! pclose() fires exception, need to discover why. Core idea: add protocol 'popen://' and handle protocol methods with...

By the way fixed float point encoding. patch: ```diff diff --git a/runtime/json-functions.cpp b/runtime/json-functions.cpp index ff2774ea..954af817 100644 --- a/runtime/json-functions.cpp +++ b/runtime/json-functions.cpp @@ -9,8 +9,33 @@ #include "runtime/exception.h" #include "runtime/string_functions.h" +#ifndef _GNU_SOURCE...

It's about JsonEncoder. JsonEncoder - It's good but next step for serialize/unserialize objects. Simple way (and migration simple) is next: ```php echo json_encode( to_array_debug( $obj )) ; ``` for real...

Yes but in polyfill.... ```php class JsonEncoder { // these constants can be overridden in child classes const rename_policy = 'none'; const visibility_policy = 'all'; const skip_if_default = false; const...