1--TEST-- 2Test strpbrk() function : error conditions 3--FILE-- 4<?php 5$haystack = 'This is a Simple text.'; 6 7echo "-- Testing strpbrk() function with empty second argument --\n"; 8try { 9 strpbrk($haystack, ''); 10} catch (\ValueError $e) { 11 echo $e->getMessage() . "\n"; 12} 13 14?> 15--EXPECT-- 16-- Testing strpbrk() function with empty second argument -- 17strpbrk(): Argument #2 ($characters) must be a non-empty string 18