mirror of
https://github.com/php/php-src.git
synced 2024-12-14 20:33:36 +08:00
- Fix build
This commit is contained in:
parent
12c56d0764
commit
58f7de98f4
@ -1144,7 +1144,11 @@ PHP_METHOD(Phar, __construct)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if PHP_VERSION_ID >= 60000
|
||||
objname = phar_obj->std.ce->name.s;
|
||||
#else
|
||||
objname = phar_obj->std.ce->name;
|
||||
#endif
|
||||
|
||||
if (phar_open_or_create_filename(fname, fname_len, alias, alias_len, objname, REPORT_ERRORS, &phar_data, &error TSRMLS_CC) == FAILURE) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user