instance of stringhttp://softtime.ru/foruminstance of stringhttp://softtime.ru/forum/read.php?id_forum=1&id_theme=61031#post355733В принципе, достаточно глянуть в мануал и посмотреть как определяются функции. Хотя если Вы найдете "толстую книгу по PHP" с...instance of stringFri, 19 Dec 2008 20:13:14 +0300BinLadeninstance of stringhttp://softtime.ru/forum/read.php?id_forum=1&id_theme=61031#post355725Ваша находчивость делает вам честь! Но, я всё же надеюсь, что существует и более прямолинейное решение. Несмотря на то,что искал...instance of stringFri, 19 Dec 2008 19:51:12 +0300Eugene77instance of stringhttp://softtime.ru/forum/read.php?id_forum=1&id_theme=61031#post355700"?php function myfunction( /* string */ $s ) { /* ... */ } ?" "?php function myfunction( $string ) {...instance of stringFri, 19 Dec 2008 17:42:45 +0300BinLadeninstance of stringhttp://softtime.ru/forum/read.php?id_forum=1&id_theme=61031#post355698"В PHP не нужно предварительно указывать её тип. Я никогда и не указывал, но потом становится трудно ориентироваться в своих...instance of stringFri, 19 Dec 2008 17:38:28 +0300Eugene77instance of stringhttp://softtime.ru/forum/read.php?id_forum=1&id_theme=61031#post355577"string $s Как сказал BinLaden, string здесь не к чему.instance of stringThu, 18 Dec 2008 22:14:23 +0300AcidTrashinstance of stringhttp://softtime.ru/forum/read.php?id_forum=1&id_theme=61031#post355569В PHP не нужно предварительно указывать её тип.instance of stringThu, 18 Dec 2008 20:47:28 +0300BinLadeninstance of stringhttp://softtime.ru/forum/read.php?id_forum=1&id_theme=61031#post355567а можно саму функцию показать? Просто не совсем понятно, в чем ошибка, и что вы хотите.instance of stringThu, 18 Dec 2008 20:40:29 +0300SteAlzzerinstance of stringhttp://softtime.ru/forum/read.php?id_forum=1&id_theme=61031#post355559Catchable fatal error: Argument 1 passed to words2array() must be an instance of string, string given Написал при объявлении функции...instance of stringThu, 18 Dec 2008 19:51:49 +0300Eugene77