1--TEST-- 2Bug#74951 Null pointer dereference in user streams 3--FILE-- 4<?php 5trait Stream00ploiter{ 6 public function s() {} 7 public function n($_) {} 8} 9stream_wrapper_register('e0ploit','Stream00ploiter'); 10$s=fopen('e0ploit://',0); 11?> 12--EXPECTF-- 13Warning: fopen(e0ploit://): Failed to open stream: operation failed in %s%ebug74951.php on line 7 14