Re: [PHP-DEV] PHP 7 Segmentation fault

2015-11-11 Thread Frank M. Kromann
and fix the problem in the extension. - Frank On 11/11/15 13:29, Dmitry Stogov wrote: On Wed, Nov 11, 2015 at 11:24 PM, Frank M. Kromann wrote: Hi Dmitry, Here is the output. ==28336== Conditional jump or move depends on uninitialised value(s) ==28336==at 0x64EF568: tzload

Re: [PHP-DEV] PHP 7 Segmentation fault

2015-11-11 Thread Frank M. Kromann
(CG(active_op_array), range, opline - CG(active_op_array)->opcodes); Zend/zend_execute.c:2552:for (i = 0; i < EX(func)->op_array.last_live_range; i++) { Zend/zend_execute.c:2553:const zend_live_range *range = &EX(func)->op_array.live_range[i]; - Frank On 11/11/15 12:02,

Re: [PHP-DEV] PHP 7 Segmentation fault

2015-11-11 Thread Frank M. Kromann
015 at 11:02 PM, Anatol Belski wrote: -Original Message----- From: Frank M. Kromann [mailto:f...@webbypixel.com] Sent: Wednesday, November 11, 2015 8:51 PM To: Anatol Belski ; 'Dmitry Stogov' < dmi...@zend.com> Cc: 'PHP Internals' Subject: Re: [PHP-DEV] PHP 7

Re: [PHP-DEV] PHP 7 Segmentation fault

2015-11-11 Thread Frank M. Kromann
_cli (argc=4, argv=0x1167ca0) at /home/frank/Source/php-src-7/sapi/cli/php_cli.c:974 #44 0x00443467 in main (argc=4, argv=0x1167ca0) at /home/frank/Source/php-src-7/sapi/cli/php_cli.c:1345 - Frank On 11/11/15 12:02, Anatol Belski wrote: -Original Message- From: Frank M. Kro

Re: [PHP-DEV] PHP 7 Segmentation fault

2015-11-11 Thread Frank M. Kromann
hp_cli.c:974 #30 0x00443467 in main (argc=4, argv=0x1167c60) at /home/frank/Source/php-src-7/sapi/cli/php_cli.c:1345 - Frank On 11/11/15 11:40, Frank M. Kromann wrote: Hi Anatol, Sorry, I fogot to include the output of the grep. [frank@dev php-src-7]$ grep -rn _live_range Zend/ Zend/

Re: [PHP-DEV] PHP 7 Segmentation fault

2015-11-11 Thread Frank M. Kromann
{ Zend/zend_execute.c:2553:const zend_live_range *range = &EX(func)->op_array.live_range[i]; - Frank On 11/11/15 11:38, Frank M. Kromann wrote: Hi Anatol, Here is what I have [frank@dev php-src-7]$ git show commit d1077f7a897d9267a0cad3d64663fd952dd1c6b2 Merge: e88e3f2 a2e59e

Re: [PHP-DEV] PHP 7 Segmentation fault

2015-11-11 Thread Frank M. Kromann
.INTERNALS [frank@dev php-src-7]$ git status # On branch master # Untracked files: I think that is the latest from git.php.net? - Frank On 11/11/15 11:34, Anatol Belski wrote: Hi Frank, -Original Message----- From: Frank M. Kromann [mailto:f...@php.net] Sent: Wednesday, November 11, 2015

Re: [PHP-DEV] PHP 7 Segmentation fault

2015-11-11 Thread Frank M. Kromann
it pull" and then full rebuild, "make clean; make; make install" Thanks. Dmitry. On Wed, Nov 11, 2015 at 3:22 AM, Frank M. Kromann mailto:f...@php.net>> wrote: Hello Everyone, I have a large application that segfaults on spl autoload function. I have not had the tim

[PHP-DEV] PHP 7 Segmentation fault

2015-11-10 Thread Frank M. Kromann
Hello Everyone, I have a large application that segfaults on spl autoload function. I have not had the time yet to create a small script that can be used to reproduce the error, but it looks to be similar to the one reported for PHPUnit. I'm using the autolaoder script from composer and I ha

Re: [PHP-DEV] [VOTE] Weak References

2011-08-02 Thread Frank M. Kromann
Adding a new feature to the latest version of PHP will not make it available to users of shared hosting. Many of these are running on older versions and it takes time for them to get updated to the latest. - Frank On 8/2/11 11:06 AM, Hannes Landeholm wrote: I've talked to Etienne and he sti

Re: [PHP-DEV] PHP 5.3 bug or changed feature??

2007-12-10 Thread Frank M. Kromann
asier. Now with 5.3 we were able to change the API and coudl > apply the solution that was first developed in HEAD. > > marcus > > Sunday, December 9, 2007, 1:22:09 PM, you wrote: > > > Hi Frank, > > > Frank M. Kromann wrote: > >> Hello Everyon, > &g

[PHP-DEV] PHP 5.3 bug or changed feature??

2007-12-07 Thread Frank M. Kromann
Hello Everyon, Casting a SimpleXML object to an array gives different results in PHP 5.2.5 and PHP 5.3-dev. Source: $xml = simplexml_load_file("sample.xml"); foreach($xml->column as $column) { var_dump($column); var_dump((array)$column); } sample.xml ?xml version="1.0"?>

Re: [PHP-DEV] flock() php_flock() compile problems

2007-04-05 Thread Frank M. Kromann
Hi Rasmus, But the definition of flock in win32/flock.c() is identical to the definition of php_flock() in ext/standard/flock_compat.c. I don't see any reason to hae the same function defined twice with two different names. - Frank > Frank M. Kromann wrote: > > Hello Everyone, &

[PHP-DEV] flock() php_flock() compile problems

2007-04-05 Thread Frank M. Kromann
Hello Everyone, I hope I'm not too far off here but getting rid of flock.c in win32\build\config.w32 an adding flock_compat to ext\standard\config.w32 seams to solve the compile problems, at least in the 5.2 branch. - Frank -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

[PHP-DEV] Re: COM extension defects: Patch for defect 35872

2007-03-02 Thread Frank M. Kromann
Hi ANdy, Looks good to me. Nice and clean. - Frank > Hi Internals, > Below are details of a suggested patch for COM extension defect > 35872 (http://bugs.php.net/bug.php?id=35872) for review/approval. > All comments welcome; good or bad. > > Regards >Andy > > Andy Wharmby > IBM Unit

Re: [PHP-DEV] imap on windows

2007-02-15 Thread Frank M. Kromann
Hi Stanislav, IIRC, you need to modify the Makefile.w2k in c-client. Change the Link flag /MT to /MD, rebuild imap and rebuild php_imap.dll - Frank > Hi! > > Does anybody know how to build IMAP module successfully on WIndows? I > try to build it and I get this: > > cclient.lib(os_w2k.obj) : e

Re: [PHP-DEV] COM extension defects: Possible patch for defect 35464

2007-01-25 Thread Frank M. Kromann
Hi Andy, I think this code and your explanations look good. I'll give the patch a run tonight when I get home but I do not see any problems with it. - Frank > Hi Internals > Attached is a suggested patch for COM defect 35464 > (http://bugs.php.net/bug.php?id=34564) Any comments; good or

Re: [PHP-DEV] PHP 4.4.0 5.2.0 and FreeTds 0.64 login trouble

2007-01-23 Thread Frank M. Kromann
Hello, You should add a section to your freetds.conf file that looks something like this: [MyHost] host = 192.168.55.3 port = 1433 tds version = 8.0 And they set $dbhost = "MyHost"; in your php script. - Frank > Hello, > > I have a Linux server that's running P

RE: [PHP-DEV] Windows build

2007-01-06 Thread Frank M. Kromann
VC 6/7/8 can be installed on the same box (VC 6 does not install on Windows Vista though). My XP box has all three and I can build PHP with any of them by setting the correct environment variables before calling the build scripts. - Frank > Btw, one more thing which we could consider doing (alth

Re: [PHP-DEV] Dumping support for Windows 98 and Windows ME

2006-12-28 Thread Frank M. Kromann
PHP will use Win32 API calls that's not implemented in older versions of Windows so you will not be able to execute newer versions of PHP on these systems. This will affect both PHP 5 and PHP 6. You will still be able to run PHP that's built from source before the decission was made. - Frank > B

[PHP-DEV] Zend compile problem on Win32

2006-12-22 Thread Frank M. Kromann
Hello Everyone, Here is a patch for PHP6 that allows the jason extension to be compiled as a shared object on win32. - Frank Index: zend_strtol.c === RCS file: /repository/ZendEngine2/zend_strtol.c,v retrieving revision 1.4 diff -u

Re: [PHP-DEV] Dumping support for Windows 98 and Windows ME

2006-12-21 Thread Frank M. Kromann
+1 It might be a good idea to keep the latest build of php4/5, that can run on these systems, arround for a while so the users can download them. - Frank > Hi all, > > In the spirit of dumping Win95 support in PHP 5, I'd like to officialy dump > Windows 98&ME support from this point onwards. We

Re: [PHP-DEV] Moving COM, Socket & mhash to PECL

2006-12-08 Thread Frank M. Kromann
> On 12/08/2006 07:03 PM, Ilia Alshanetsky wrote: > > > COM: -1 COM should have more attention and I can try to find some of that. > > mhash: +1 > > sockets: +1 when everything can be handled by streams - Frank -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: h

[PHP-DEV] Variable reuse problem

2006-09-29 Thread Frank M. Kromann
Hello Everyone, I have a small problem with the mssql extension and resources (Tested with PHP 5.2). If I use the same variable to store the resource for a result the second result is not always correct! // Example 1 does not work $rs = mssql_query("select 1"); $rs = mssql_query("select 3 select

Re: [PHP-DEV] config.w32 quirk

2006-08-14 Thread Frank M. Kromann
For some reason it needs to be re = new RegExp("^\\s*(ARG_(ENABLE|WITH)\([^;]+\);)", "gm"); But that will work. - Frank > Frank M. Kromann wrote: > > That has to do with the way the config.w32 files are processed. > > > > changing one line in win32\

Re: [PHP-DEV] config.w32 quirk

2006-08-14 Thread Frank M. Kromann
That has to do with the way the config.w32 files are processed. changing one line in win32\build\buildconf.js from re = new RegExp("(ARG_(ENABLE|WITH)\([^;]+\);)", "gm"); to re = new RegExp("^(ARG_(ENABLE|WITH)\([^;]+\);)", "gm"); will prevent this from happening. This change will require the

RE: [PHP-DEV] RE: CVS Account Request: cleong

2006-07-29 Thread Frank M. Kromann
The MSSQL extension can be linked against FreeTDS (php_dblib.dll on Win32). This removes all the limitations that exists in ntwdblib. - Frank > As far as I know, and I might be wrong, ASP.NET uses a managed runtime .NET > interface which does not use COM (It's the actual TDS protocol implemented

[PHP-DEV] Possible problem in Zend

2006-07-18 Thread Frank M. Kromann
Hello Everyone, With the current version of CVS PHP_5_2 branch I get this compiler warning: c:\php\php5_2\zend\zend.c(565) : warning C4700: local variable 'tsrm_ls' used without having been initialized - Frank -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http:

[PHP-DEV] pecl/filter/logical_filters.c missing

2006-06-15 Thread Frank M. Kromann
Hello Everyone, What happened to pecl/filter/logical_filters.c? It's no longer in CVS but it's still referenced in config.m4 and config.w32. - Frank -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Last patch breaks ODBC

2006-06-13 Thread Frank M. Kromann
Hi Dmitry, Your last module cleanup patch seams to break compilation on ext/odbc/php_udbc.c. Would it be safe to reverrt this? The odbc module does not use global variables. - Frank cvs diff -u -- php_odbc.c (in directory C:\PHP\php6\ext\odbc\) Index: php_odbc.c

Re: [PHP-DEV] tsrm_shutdown() and the CLI SAPI

2006-05-31 Thread Frank M. Kromann
> >>Yes, it would, given the root cause - but would you really want to break > >>the whole of PHP for an academic exercise? > > > > It's not really an academic exercise. If we know there's a bug someplace > > we should at least look into it and try and understand it. > > Frank's referring to Z

Re: [PHP-DEV] tsrm_shutdown() and the CLI SAPI

2006-05-31 Thread Frank M. Kromann
> > I'm a bit behind so sorry if this has been answered already. I don't think > > ts_free_id() is a workaround but it's actually correct. > > ts_free_id() would be a correct workaround if it came from zend_shutdown(). > How's it right to suddenly force EVERY extension author to add it to thei

Re: [PHP-DEV] tsrm_shutdown() and the CLI SAPI

2006-05-31 Thread Frank M. Kromann
Hi Steph, > Yes, it would, given the root cause - but would you really want to break the > whole of PHP for an academic exercise? Changing the code locally just to test and see if it gave another clude to the problem would be my approach :-) - Frank -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] tsrm_shutdown() and the CLI SAPI

2006-05-31 Thread Frank M. Kromann
tsrm_shutdown() is already comented out in the CGI version, most likely as a fix to the same kind of problem there. Perhaps enabling that again will show the same kind of problems? - Frank > At the moment I'm seeing it with Tidy under 5_2. Just about to get Tony to > check. > > - Original

Re: [PHP-DEV] Compile error on ext/date/lib/parse_date.c

2006-05-25 Thread Frank M. Kromann
t, and I don't believe turning off optimizations is a benefit for PHP on > Windows. > > It might be time to re-think how this function works. > > > On Thu, 25 May 2006, Derick Rethans wrote: > > > On Wed, 24 May 2006, Frank M. Kromann wrote: > > > >>

Re: [PHP-DEV] Compile error on ext/date/lib/parse_date.c

2006-05-25 Thread Frank M. Kromann
/default.aspx?scid=kb%3Ben-us%3B113116 I can try to see if there is a way to remove the /Ox for this file without doing it for the rest of the files. - Frank - Frank > On Wed, 24 May 2006, Frank M. Kromann wrote: > > > Hello All, > > > > My hard disk crashed ov

[PHP-DEV] Compile error on ext/date/lib/parse_date.c

2006-05-24 Thread Frank M. Kromann
Hello All, My hard disk crashed over the weekend and after reinstalling everything on a new drive I'm getting the folowing error: c:\php\php5_2\ext\date\lib\parse_date.re(759) : fatal error C1053: '_scan' : function too large NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2' Stop. I'm us

[PHP-DEV] tsrm_shutdown() not called!

2006-05-22 Thread Frank M. Kromann
Hello Everyine, I'm resending this message with another subject to see if it gets a bit more attension. There are a few open bug reports about crashes during shutdown when specific extensions are loaded. After some digging I found that this is related to tsrm_shutdown(). This function is called

[PHP-DEV] Fw: #37507 [Bgs]: loading the php_printer.dll extension causes php to crash

2006-05-18 Thread Frank M. Kromann
This seams to be a problem in TSRM. I get this error when using the CLI version but not with the CGI version. I think this is the same error reported with the tidy extension (and possible others that register a dtor for global data. Looking a bit at the code I see one difference between CLI and CG

Re: [PHP-DEV] Tidy and Unicode changes

2006-05-06 Thread Frank M. Kromann
Conpiles fine on Win32 now. - Frank > Thanks Andrei. > I've already changed the code to use it. The windows builds should now be > fixed. > > Nuno > > - Original Message - , > > > > There is zend_unicode_to_ascii() now. Check zend_unicode.c. It will return > > NULL if string cannot be

Re: [PHP-DEV] ZSTR and NULL problems again

2006-04-29 Thread Frank M. Kromann
m: "Hannes Magnusson" <[EMAIL PROTECTED]> > To: "Frank M. Kromann" <[EMAIL PROTECTED]> > Cc: "Sara Golemon" <[EMAIL PROTECTED]>; "Wez Furlong" <[EMAIL PROTECTED]>; > "Andrei Zmievski" <[EMAIL PROTECTED]>; >

[PHP-DEV] Tidy and Unicode changes

2006-04-28 Thread Frank M. Kromann
Hello, Not sure if you added a call to zend_set_converter_encoding() in the current version of tidy.c, but this function is declared as an internal function and this call prevents the tidy extension from building as shared. Can we find another way of doing this or get the core guys to add ZEND_AP

Re: [PHP-DEV] ZSTR and NULL problems again

2006-04-28 Thread Frank M. Kromann
second leg... > > -Sara > - Original Message - > From: ""Wez Furlong"" <[EMAIL PROTECTED]> > Newsgroups: php.internals > To: "Andrei Zmievski" <[EMAIL PROTECTED]> > Cc: "PHP Internals" ; "Dmitry Stogov" > &l

Re: [PHP-DEV] ZSTR and NULL problems again

2006-04-25 Thread Frank M. Kromann
I Like that idea. - Frank > I think ZSTR(buf) should not be present in the macro: > > #define php_stream_get_line(stream, buf, maxlen, retlen) >_php_stream_get_line((stream), IS_STRING, (buf), (maxlen), 0, >(retlen) TSRMLS_CC) > > Let the caller apply ZSTR() to the argument manually, if

[PHP-DEV] RE: ZSTR and NULL problems again

2006-04-25 Thread Frank M. Kromann
CTED] > > Sent: Tuesday, April 25, 2006 1:35 AM > > To: PHP Internals > > Cc: Dmitry Stogov; Frank M. Kromann > > Subject: ZSTR and NULL problems again > > > > > > After Frank's latest changes, HEAD doesn't compile under gcc 2.95 > > anymo

Re: [PHP-DEV] [PATCH] Compile head on Win32

2006-04-21 Thread Frank M. Kromann
Hi Rob, Working on a patch for those as well. - Frank > If this patch is used to fix the build, the same change need to be made in: > ext/spl/spl_directory.c > ext/standard/image.c (php_stream_gets) > sapi/cli/php_cli.c (php_stream_gets) > > Frank M. Kromann wrote:

[PHP-DEV] [PATCH] Compile head on Win32

2006-04-21 Thread Frank M. Kromann
Hello Everyone, Here is a patch that makes it possible to compile HEAD on win32. http://kromann.info/diff-file.c php_stream_get_line_ex() and php_stream_get_line() are both defined as macros where the buf parameter is replaced with ZSTR(buf). Setting buf to NULL_ZSTR causes the function to be ca

Re: [PHP-DEV] building HEAD on windows

2006-04-19 Thread Frank M. Kromann
Hi Nuno, I'm working on a fix (actually I have been for a while but my time has been limited) and I just commited the fix to ext/unicode/config.w32. I'll continue working on the other fix tomorrow, unless someone get's there first. - Frank > Hi, > > I'm having some troubles building latest HEA

Re: [PHP-DEV] [PATCH] Bug #34671 Incorrect calling convention to cmd.exe

2006-02-06 Thread Frank M. Kromann
I like the idea of a php.ini setting for the comspec (although this might create OS specific ini files), and I do not like 'magick' stuff happening to command parameters in any of the exec functions. According to Windows cmd specifications the quotes are needed if one of the special characters is

RE: [PHP-DEV] Re: Named arguments revisited

2006-01-12 Thread Frank M. Kromann
> > If you have too many parameters that you want to start omitting parameters when calling a function, its probably time to refactor. > And if you have many parameters to functions you still need to look at the definition (or documentation) to figure out what parameters the function takes. It'

[PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/ming ming.c

2005-08-09 Thread Frank M. Kromann
Hi Andi, I'll make it work with both versions tonight. If I can't get that to work I'll revert the latest fix so we can release. - Frank > Guys, > > Any idea when you'll resolve this issue? I'd like to roll tomorrow or the > day after. > Thanks, > Andi > > At 09:12 PM 8/9/2005 +0200, Marcus B

Re: [PHP-DEV] ext-ext interaction

2005-07-21 Thread Frank M. Kromann
Hi Val, This wil require that at least one of the extensions are compiled in so it might not work on Win32 where the extensions are provided as shared objects. - Frank > Hello! > >There're 2 extensions - APC and bcompiler - that can work > independently, but when both of them are used,

Re: [PHP-DEV] HEAD segfaults on Win32

2005-06-08 Thread Frank M. Kromann
The Segfault seams to come from the last patch to Zend/zend_compile.h. Using yesterdays version works fine. - Frank > Sebastian Bergmann wrote: > > After Jani's patch I still get the segfault but now with a backtrace > > This is weird: I made a clean checkout and now I get a syntax error in >

Re: [PHP-DEV] VC6 Win32 Build

2005-04-17 Thread Frank M. Kromann
buildconf.bat should be located in the root of the source three and contain these two lines @echo off cscript /nologo win32\build\buildconf.js if buildconf.js is executed this way it should not produce any errors or arnings. - Frank > I'm also trying to Build php5ts using the VC6 Build Tools as

[PHP-DEV] ftp_nlist() problems

2005-03-25 Thread Frank M. Kromann
Hello Everyone, It seams like ftp_nlist has a small problem when running under Linux. The scripts gives this message 'Warning: ftp_nlist() [function.ftp-nlist]: Unable to create temporary file. Check permissions in temporary files directory.' one out of three times. I've added putenv('TMPDIR=/tmp

Re: [PHP-DEV] error in compile php5 in vs.net

2005-02-23 Thread Frank M. Kromann
Try to add --without-iconv. Or install the iconv libraries from http://ctindustries.net/dom/libxml/ - Frank > C:\Work\php-5.0.3>cscript /nologo configure.js --without-simplexml --without-xml > --without-xmlrpc --without-libxml > Saving configure options to config.nice.bat > Checking for cl.exe .

Re: [PHP-DEV] Win32 builds are broken

2005-02-17 Thread Frank M. Kromann
_ce_Countable); > > +// zend_class_implements(sqlite_ce_query TSRMLS_CC, 2, zend_ce_iterator, > > spl_ce_Countable); > > #else > > zend_class_implements(sqlite_ce_query TSRMLS_CC, 1, zend_ce_iterator); > > #endif > > > - Frank > > > >> Can you send

Re: [PHP-DEV] Win32 builds are broken

2005-02-16 Thread Frank M. Kromann
_ce_iterator, spl_ce_Countable); #else zend_class_implements(sqlite_ce_query TSRMLS_CC, 1, zend_ce_iterator); #endif - Frank > Can you send the diff of that commit? > > At 16:35 16/02/2005 -0800, Frank M. Kromann wrote: > >Hello Everyone, > > > >I have narowed it down to the last comm

[PHP-DEV] Win32 builds are broken

2005-02-16 Thread Frank M. Kromann
Hello Everyone, The Win32 builds (mine and those from snaps). It crashes in tsrm_shutdown(). I'm trying to figure out what cased this, and so far I know it happned between Feb. 10 and now. - Frank -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/

Re: [PHP-DEV] Win32 builds are broken

2005-02-16 Thread Frank M. Kromann
Hello Everyone, I have narowed it down to the last commit to ext\sqlite.c. This seams to be the first time zend_class_implements is called with two interfaces. - Frank > Hello Everyone, > > The Win32 builds (mine and those from snaps). It crashes in > tsrm_shutdown(). I'm trying to figure out w

Re: [PHP-DEV] php-cgi broken

2005-02-10 Thread Frank M. Kromann
t=1 > > --Jani > > On Tue, 8 Feb 2005, Frank M. Kromann wrote: > > > Hello Everyone, > > > > The patch on sapi/cgi_main.c from 1.259 to 1.260 (HEAD) breaks the cgi > > under IIS. No after this patch the server returns file not found on all > > r

[PHP-DEV] php-cgi broken

2005-02-08 Thread Frank M. Kromann
Hello Everyone, The patch on sapi/cgi_main.c from 1.259 to 1.260 (HEAD) breaks the cgi under IIS. No after this patch the server returns file not found on all requests. - Frank -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Critical typedef redefinitions

2005-01-03 Thread Frank M. Kromann
Hi, Adding these two lines to main/win95nt.h kills these warnings with vs 6 typedef int socklen_t; #define HAVE_SOCKLEN_T 1 - Frank > We only support the MSVC compiler and libc under windows (there are > plenty of quirks and assumptions made about it for the win32 build). > > Changing that ty

[PHP-DEV] Win32 bug in zend_strtod.c

2004-12-01 Thread Frank M. Kromann
Hello Everyone, Line 100 in zend_strtod.c has a space after the \ at the end of the line. This breaks the win32 build. - Frank -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Fix for man page (bug #30727)

2004-11-09 Thread Frank M. Kromann
Commited. - Frank > Hello! > > This is trivial patch for `man php` fixing bug #30727. Can somebody with > sufficient karma please commit it? > > Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Issues with VS.NET

2004-11-06 Thread Frank M. Kromann
The format of project and workspace files was changed between the two versions of Visual Studio. The project files provided with the PHP sources are for Visual Studio 6/97. Visual Studio can convert the old files to the new format though. For PHP5 it's no longer needed to use the IDE. This version

[PHP-DEV] isset() and the new VM

2004-11-02 Thread Frank M. Kromann
Hello Everyone, isset($arr[0]['id']) used to return false if $arr[0] is undefined, but with the new VM it throws a warning. Is this new behavior or a bug ? - Frank -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH][PHP_5_0] MSSQL Uniqueid formatting, etc...

2004-10-25 Thread Frank M. Kromann
Thanks Jason, I'll take a look at it. Looks good a first view. - Frank > Here's a patch to the MSSQL extention that: > > 1. Formats a resultant uniqueidentifer into a string (instead of raw binary) > which is the same way that odbc handles them. > > 2. Enables uniqueids to be used from freetds

Re: [PHP-DEV] PHP 5.1 roadmap

2004-10-21 Thread Frank M. Kromann
> Aside from that, PDO is very usable for the most common data access > patterns that you are likely to use in PHP. > > Driver wise, we have a nice collection. The only major driver that we > are missing is mysql 4.x (we have 3.x). The FBSQL driver is almost done, and when that happens Iøll star

Re: [PHP-DEV] [PATCH] Compiling bcompiler with PHP5

2004-10-11 Thread Frank M. Kromann
reason I'll > export them. > > Andi > > At 12:33 PM 10/11/2004 -0700, Frank M. Kromann wrote: > >Hello, > > > >Here is a small patch to Zend taht will allow the current version of > >pecl/bcompiler to compile with PHP and ZendEngine2. > > > &g

[PHP-DEV] [PATCH] Compiling bcompiler with PHP5

2004-10-11 Thread Frank M. Kromann
Hello, Here is a small patch to Zend taht will allow the current version of pecl/bcompiler to compile with PHP and ZendEngine2. http://kromann.info/Zend.patch Would it be possible for someone with karma to commit this ? - Frank -- PHP Internals - PHP Runtime Development Mailing List To unsubs

Re: [PHP-DEV] switch() and default:

2004-10-08 Thread Frank M. Kromann
Thanks Andi, It works for me. - Frank > Fixed. > > > At 12:00 PM 10/8/2004 -0400, Jason Garber wrote: > >Hello, > > > > Ergh. I also hope that it can easily be restored to work the way > > it did, even if that was undocumented. The thought of looking > > through ~ 5,000 php scripts bef

Re: [PHP-DEV] switch() and default:

2004-10-08 Thread Frank M. Kromann
t's always been like that and has been documented for ages in the manual. > > Andi > > At 08:24 PM 10/7/2004 -0700, Frank M. Kromann wrote: > >Hello Everyone, > > > >I just discovered a small thing in the switch() statement. The position of > >the defa

[PHP-DEV] switch() and default:

2004-10-07 Thread Frank M. Kromann
Hello Everyone, I just discovered a small thing in the switch() statement. The position of the default: clause has to be at the end of the code: $a = 1; switch ($a) { default : case 0 : $b = 1; break; case 1 : $b = 2; break; } echo $b; // should print 2 but it pri

Re: [PHP-DEV] Zend and flex problem

2004-10-06 Thread Frank M. Kromann
Thanks Derick, I think I'll take the easy solution for now and get the box configured. It might be a good exersize to learn more about flex though. - Frank > Hi Frank! > > On Tue, 5 Oct 2004, Frank M. Kromann wrote: > > > I'm using PHP5 CVS-HEAD and flex 2.5.31.

[PHP-DEV] Zend and flex problem

2004-10-05 Thread Frank M. Kromann
Hello Everyone, I'm having a problem with flex and zend on my new system: flex -Pzend -S/usr/local/src/php5/Zend/flex.skl -oZend/zend_language_scanner.c -i /usr/local/src/php5/Zend/zend_language_scanner.l flex: fatal internal error, bad line in skeleton file make: *** [Zend/zend_language_scanner.

[PHP-DEV] HAVE_STRCOLL problem

2004-09-13 Thread Frank M. Kromann
Hello Everyone, HAVE_STRCOLL is defined in config.w32.h and used in zend_operators.h|c. This causes the string_locale_compare_function() to be undefined at link time. moving #define HAVE_STRCOLL 1 to zend_config.w32.h slves the problem. - Frank -- PHP Internals - PHP Runtime Development Mailin

Re: [PHP-DEV] mail() on windows

2004-08-19 Thread Frank M. Kromann
e custom header can't be parsed, and if a > "From:" header is found, to use that instead of sendmail_from value? > > thanks again. > > > On Wed, August 18, 2004 6:11 pm, Frank M. Kromann said: > > > > These extra parameters to the TSendMail function are used by im

Re: [PHP-DEV] mail() on windows

2004-08-18 Thread Frank M. Kromann
These extra parameters to the TSendMail function are used by imap_mail(). To use this function you need to load the imap extension but you get a few more options that are not available in the standard mail function. See http://php.net/imap_mail for more information. - Frank > sorry in advance f

Re: [PHP-DEV] GOTO operator

2004-07-29 Thread Frank M. Kromann
We were all newbies at some point and most of us (not including myself) learned how to handle the language, and so will the newbies of today, even if GOTO is a part of the language. I don't see a need to make this an ini-option. It is allready an option - use t or leave it alone. - Frank > Hello,

Re: [PHP-DEV] GOTO operator

2004-07-29 Thread Frank M. Kromann
[snip] > The average Joe may not need goto in some case but he will find that it simplifies > his job (but making code clumsy, something what he does not realize). > It is not because I don't like the power of goto, I would like not to be given in the > hands of the newbie. > > andrey > PHP has

RE: [PHP-DEV] libxml/libxslt on win32

2004-07-19 Thread Frank M. Kromann
here in the first place was so that the libxml build could > rely with confidence on there being built-in support for libxml's own > built-in iconv functions through PHP, rather than having to lean on an > external iconv.dll at runtime.. > > - Steph > > > -----Original

Re: [PHP-DEV] libxml/libxslt on win32

2004-07-19 Thread Frank M. Kromann
I've been using these libraries for a while without problems. Can we split the iconv related exports from php_libxml.def to php_iconv.def. This will make it possible to build with iconv, but without libxml. - Frank > If possible can the libxml and libxslt libs get updated to newer versions? > Li

[PHP-DEV] Problem reusing variables

2004-04-16 Thread Frank M. Kromann
Hello Everyone, I have a problem reusing variables. This does not work (second query does not return any data): $rs = fbsql_query("select * from tuser;", $con); ... $rs = fbsql_query("select * from tuser;", $con); These three combinations work fine (both queries return data): $rs = fbsql_query

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /win32/build cvsclean.js

2004-04-08 Thread Frank M. Kromann
Oops. I'll remove that line again. - Frank > Frank M. Kromann wrote: > > + WScript.StdOut.WriteLine(fc.item()); > > This looks like debugging code to me. Shouldn't it be removed? > > -- > Sebastian Bergmann > http://sebastian-bergmann.de/

[PHP-DEV] [PATCH} ZTS fix for zend_execute_API.c

2004-03-16 Thread Frank M. Kromann
Hello, Here is a diff for zend_execute_API.c, fixing ZTS builds. - Frank Index: zend_execute_API.c === RCS file: /repository/ZendEngine2/zend_execute_API.c,v retrieving revision 1.280 diff -u -r1.280 zend_execute_API.c --- zend_exec

Re: [PHP-DEV] win32 build system and VS .NET

2004-01-07 Thread Frank M. Kromann
Try running the bison statement manually and check the version of bison.exe I'm using bison version 1.875b from cygwin. - Frank > On Wed, Jan 07, 2004 at 04:34:57PM -, Wez Furlong wrote: > > > bison.exe --output=Zend/zend_ini_parser.c -v -d -p ini_ > > > Zend/zend_ini_parser.y >

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/iconv config.w32 /ext/libxml config.w32 /ext/xsl config.w32 /ext/zlib config.w32

2003-12-05 Thread Frank M. Kromann
Hi, Iconv-1.9.1 from ftp.gnu.org works fine as well. - Frank > From: Sebastian Bergmann > > > Where can I get these? Right now the build fails for me (I am using the > > php_build package from Edin). > > Sebastian, > > This is from an older email I sent a while back. These files are prob

Re: [PHP-DEV] efree() crash when used in a shutdown function (solved)

2003-12-04 Thread Frank M. Kromann
Hi, It helps to break for lunch. Making this variable persistant solved the problem. - Frank > Hi, > > >From the pecl/printer extension: > > static void php_printer_shutdown(zend_printer_globals *printer_globals > TSRMLS_DC) { > if (printer_globals->default_printer) { > efr

[PHP-DEV] efree() crash when used in a shutdown function

2003-12-04 Thread Frank M. Kromann
Hi, >From the pecl/printer extension: static void php_printer_shutdown(zend_printer_globals *printer_globals TSRMLS_DC) { if (printer_globals->default_printer) { efree(printer_globals->default_printer); } } PHP_MINIT_FUNCTION(printer) { ZEND_INIT_MODULE_GLOBAL

[PHP-DEV] bindlib_w32 fix/patch

2003-12-03 Thread Frank M. Kromann
Hi, stdlib.h is included in line 106 of bindlib_w32\conf\portability.h. This causes the linker to look for __pctype and __mb_cur_max. This is not a problem for the old style builds but with Wez' new build system it causes a linking problem. Removing line 106 form this file solves the problem and

Re: [PHP-DEV] New win32 build system

2003-12-02 Thread Frank M. Kromann
> The main reason is that it is the easiest way to get things to > built right now; I do plan to accomodate your own layout, > but haven't coded support for that yet :) Ok. Thats fine. I'll be happy to help with this. > > I'll make this particular thing optional (but print a warning) > for now

Re: [PHP-DEV] New win32 build system

2003-12-02 Thread Frank M. Kromann
hould rename it from php_build (that name comes > from Edin's snap building scripts, and his big brother > version of that zip file). > > --Wez. > > - Original Message - > From: "Frank M. Kromann" <[EMAIL PROTECTED]> > To: "Wez Furlong&qu

Re: [PHP-DEV] New win32 build system

2003-12-02 Thread Frank M. Kromann
gt; > should be all you need (cross your fingers!) > > > --Wez. > > - Original Message - > From: "Frank M. Kromann" <[EMAIL PROTECTED]> > To: "Wez Furlong" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Wednesday,

Re: [PHP-DEV] New win32 build system

2003-12-02 Thread Frank M. Kromann
ore: php5ts.dll and php5ts.lib ERROR: Could not find apache headers - Frank > --disable-apache Works For Me (tm) > What goes wrong for you? > > --Wez. > > - Original Message ----- > From: "Frank M. Kromann" <[EMAIL PROTECTED]> > To: "Wez Furl

Re: [PHP-DEV] New win32 build system

2003-12-02 Thread Frank M. Kromann
Hi Wez, Cool. So far it also requires apache. ++diable+apache does not seam to work! - Frank > I've committed the build infrastructure for the > "real programmers don't need an IDE" build system for win32. > > Why? > - It's frustrating to have to use VC6 to work on PHP if you > have a newer

Re: [PHP-DEV] Windows 95

2003-12-02 Thread Frank M. Kromann
Yes. - Frank > So what's the verdict? Are we dumping Windows 95? > > Andi > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/u

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /win32 time.c

2003-12-01 Thread Frank M. Kromann
ript host > installed. > > It will also remove the dependency on Visual Studio (the IDE), so that > you only need the MS compiler tools (freely available with the win32 > platform SDK). > > --Wez. > > ----- Original Message - > From: "Frank M. Kromann" &

RE: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /win32 time.c

2003-12-01 Thread Frank M. Kromann
Hi Steph, I don't see any resons why the builddef.bat should'nt run on win98. It is a very simple file. I do think that the @echo off statement should be moved to the top of the file though. All output is redirected to the phpts.def file, and this include the comments with the current configuratio

Re: [PHP-DEV] [FIX] Bug #25585: PHP crash if executed MSSQL-query with RAISERROR() call and error 515

2003-12-01 Thread Frank M. Kromann
running SQL Server 2000 SP3 > with version 8.00.194 of ntwdblib.dll. What is your configuration? > > Michael > > --- "Frank M. Kromann" <[EMAIL PROTECTED]> wrote: > > This does not fix the problem. > > > > mssql_query is designed to stop fetching

  1   2   >