1--TEST-- 2Bug #43353 wrong detection of 'data' wrapper 3--INI-- 4allow_url_fopen=1 5--FILE-- 6<?php 7 8var_dump(is_dir('file:///datafoo:test')); 9var_dump(is_dir('datafoo:test')); 10var_dump(file_get_contents('data:text/plain,foo')); 11var_dump(file_get_contents('datafoo:text/plain,foo')); 12 13?> 14--EXPECTF-- 15bool(false) 16bool(false) 17string(3) "foo" 18 19Warning: file_get_contents(datafoo:text/plain,foo): failed to open stream: No such file or directory in %s 20bool(false) 21