... I grep'ed through most of the files under php-src/, but couldn't
find any mention of any profile tools/setup.
Other than running oprofile(Linux), is there any support in the build
process or Makefiles for generating gprof-like profiles ?
TIA,
Rolland
--
PHP Internals - PHP Runtime Developme
Resending, any update on the foll ?
TIA,
Rolland
> Date: Sat, 1 Oct 2005 05:00:28 -0700 (PDT)
> From: Rolland Santimano <[EMAIL PROTECTED]>
>
> > [3] string addcslashes(string text, string charlist)
> > [4] string stripcslashes(string text)
> > Escape chars &
--- Andrei Zmievski <[EMAIL PROTECTED]> wrote:
>
> One of the ICU guys had the following suggestion, when I asked
> about case insensitive version of u_strstr() a while back:
>
> > 1. Go one step further and make your string search
> > language-sensitive, using ICU's string search API (which is b
$
$ gmake test
exit 0;
/home/rolland/Work/PHP-unicode/source/php-src/ext/sqlite/libsqlite/src/parse.y
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
ERROR: Cannot open file
'/home/rolland/Work/PHP-unicode/source/php-src/run-test-info.php'
(save_text)
gmake: [test] Err
... to be converted to handle Unicode - comments ?
TIA,
Rolland
--
[1] int strrpos(string haystack, string needle [, int offset])
Finds position of last occurrence of 'needle' within 'haystack' -
'offset' determines how much of the string is searched.
To be impl'ed in terms of u_strFindLast(), wh
> [3] string addcslashes(string text, string charlist)
> [4] string stripcslashes(string text)
> Escape chars < 32 or > 126 with octal sequences, and escape
> characters from charlist with backspace.
Escaping chars/codepts with values > 126 is a pblm in Unicode
strings. Using the 3-digit octal esc
Can someone with perms fix the convert_to_explicit_type_ex() macro in
ZendEngine2 ? I don't have commit perms.
--
Index: Zend/zend_operators.h
===
RCS file: /repository/ZendEngine2/zend_operators.h,v
retrieving revision 1.100
diff -u
--- Andrei Zmievski <[EMAIL PROTECTED]> wrote:
> Why did we decide to not use u_strtok() here?
>
> -Andrei
u_strtok() assumes NULL terminated input, w/o embedded NULLs. But using
u_strtok() would have been much simpler.
- Rolland
> On Sep 9, 2005, at 11:41 AM, Rolla
--- Rolland Santimano <[EMAIL PROTECTED]> wrote:
> Submitting patch for Unicode impl of strtok(), since I don't have a
> proper test setup, as yet.
>
> -- Rolland
OK, attachment got stripped - please check inline patch.
--
Index: ext/sta
Submitting patch for Unicode impl of strtok(), since I don't have a
proper test setup, as yet.
-- Rolland
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
I couldn't run the test script(s), I get multiple errors of the foll
nature:
PHP Warning: fopen(): unable to create or locate filter
"unicode.to.utf8" in
/home/rolland/Work/PHP-unicode/source/php-src/run-tests.php on line
1104
Is there any setting to be changed in the .ini file(s) ? I have the
f
--- Andrei Zmievski <[EMAIL PROTECTED]> wrote:
>
> >> 4) The string can be truncated to the user's requested character
> >> length. The string will be trimmed from the right one unicode
> >> utf-8 character (not grapheme, not byte) at a time until the
length
> >> limit is met. (So a combining char
> So for reasons of performance, simplicity, and practicality, I would
> say str_pad should:
>
> 1) of course surrogates must not be broken up
> 2) The pad string can have combining characters.
> 3) The length the user specifies should be a character count.
I presume that "character" above refers
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)
GNU ld version 2.15.92.0.2 20040927
Error details follow:
ext/pdo_sqlite/sqlite/src/prepare.o(.text+0x647): In function
`sqlite3InitOne':
/home/rolland/Work/PHP-unicode/source/php-src/ext/pdo_sqlite/sqlite/src/prepare.c:299:
undefined reference to `sql
--- Andrei Zmievski <[EMAIL PROTECTED]> wrote:
> On Aug 23, 2005, at 8:23 AM, Rolland Santimano wrote:
> > [1] string substr_replace
> > Impl:
> > The current impl is written in terms of memcpy(), after adjusting
> > satrt & length correctly. With Unicode inp
Comments / impl suggestions please.
TIA,
Rolland
--
[1] string substr_replace(string original, string new, int start[, int
length])
Returns string where original[start..length] is replaced with
new. Input args can be arrays, in which case case the operation is:
substr_replace(original[i], new[i],
--- Andrei Zmievski <[EMAIL PROTECTED]> wrote:
> 2) Combining sequences are not respected. We can't swap base
> character and the combining chars that follow it because the string
> may be concatenated with something else and the combining chars may
> end up affecting something else. So we need to
I submitted this request earlier, not sure if it went through. Apologies for
the re-post.
I am working on adding i18n support, more specifically I'm working on the
strings APIs. Andrei Zmievski suggested that I apply for a CVS account here.
If my preferred UID(rolland) is not available, please
18 matches
Mail list logo