# FW: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c streamsfuncs.c streamsfuncs.h /ext/standard/tests/file include_userstream_001.phpt include_userstream_002.phpt /main main.c php_globals.h php_streams.h /main/streams streams.c userspa

- Thread: https://externals.io/message/30418
- Original archive: https://news-web.php.net/php.internals/30418
- Started by Dmitry Stogov on 2007-07-03T10:34:52+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #30418 — Dmitry Stogov — 2007-07-03T10:34:52+00:00

URL: https://externals.io/message/30418#30418

Hi,

I am going to commit the same patch to PHP_5_2.
It looks like it breaks binary compatibility but really it doesn't.

Any objections?

Thanks. Dmitry.

> -----Original Message-----
> From: Dmitry Stogov [mailto:dmitry@php.net] 
> Sent: Tuesday, July 03, 2007 2:23 PM
> To: php-cvs@lists.php.net
> Subject: [PHP-CVS] cvs: php-src /ext/standard 
> basic_functions.c streamsfuncs.c streamsfuncs.h 
> /ext/standard/tests/file include_userstream_001.phpt 
> include_userstream_002.phpt /main main.c php_globals.h 
> php_streams.h /main/streams streams.c userspa
> 
> 
> dmitry		Tue Jul  3 10:22:56 2007 UTC
> 
>   Added files:                 
>     /php-src/ext/standard/tests/file	include_userstream_001.phpt 
>                                     	include_userstream_002.phpt 
> 
>   Modified files:              
>     /php-src/main	main.c php_globals.h php_streams.h 
>     /php-src/main/streams	streams.c userspace.c 
>     /php-src/ext/standard	basic_functions.c streamsfuncs.c 
>                          	streamsfuncs.h 
>   Log:
>   Added ability to create local or remote (URL) user streams
>   Local user streams must not be able to open(), URLs if 
> allow_url_include is off
>   Implemented new function `stream_is_local()`
>   [
>   - `stream_wrapper_register()` extended with additional 
> optional argument "flags"
>     of type long. This time only one flag is implemented - 
> STREAM_IS_URL, that
>     means that userstream wrapper is remote (URL). By default 
> stream is local.
>   - `stream_is_local()` is a new function that accepts stream 
> and tell if this
>     stream is local or remote (URL)
>   ]

---

## #30419 — Ilia Alshanetsky — 2007-07-03T12:30:00+00:00

URL: https://externals.io/message/30418#30419 · In reply to: #30418

You are changing a global struct and it does not break BC, how does  
that work?

Ilia
