#48658 [Opn]: Change in behaviour of parse_str on php 6.0

2009-06-23 Thread wharmby at uk dot ibm dot com
ID: 48658 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Open Bug Type: Strings related Operating System: Windows XP PHP Version: 6CVS-2009-06-23 (snap) New Comment: The following new PHP 6 tests

#48658 [NEW]: Change in behaviour of parse_str on php 6.0

2009-06-23 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Windows XP PHP version: 6CVS-2009-06-23 (snap) PHP Bug Type: Strings related Bug description: Change in behaviour of parse_str on php 6.0 Description: Optional result argument of parse_str now has to be

#48538 [Opn]: iconv_strlen() does not reject invalid charset on PHP6

2009-06-12 Thread wharmby at uk dot ibm dot com
ID: 48538 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Open Bug Type: ICONV related Operating System: Win XP Pro PHP Version: 6CVS-2009-06-12 (snap) New Comment: Two new PHP 6 tests dropped

#48538 [NEW]: iconv_strlen() does not reject invalid charset on PHP6

2009-06-12 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Win XP Pro PHP version: 6CVS-2009-06-12 (snap) PHP Bug Type: ICONV related Bug description: iconv_strlen() does not reject invalid charset on PHP6 Description: The PHP 6 version of iconv_strlen() does not

#48514 [NEW]: cURL extension uses non-unique resource type names

2009-06-09 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Windows XP PHP version: 5.2CVS-2009-06-09 (snap) PHP Bug Type: cURL related Bug description: cURL extension uses non-unique resource type names Description: The cURL extension currently registers 2 resource

#48058 [Asn]: DateTimeZone::getTransitions output different on 64 bit

2009-04-24 Thread wharmby at uk dot ibm dot com
ID: 48058 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Assigned Bug Type: Date/time related Operating System: Linux 64 bit PHP Version: 5.3CVS-2009-04-23 (snap) Assigned To: derick New

#48058 [NEW]: DateTimeZone::getTransitions output different on 64 bit

2009-04-23 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Linux 64 bit PHP version: 5.3CVS-2009-04-23 (snap) PHP Bug Type: Date/time related Bug description: DateTimeZone::getTransitions output different on 64 bit Description: First entry in array returned by

#47178 [Bgs]: Missing gzip headers in gzencode() output

2009-03-02 Thread wharmby at uk dot ibm dot com
ID: 47178 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Bogus Bug Type: Zlib Related Operating System: Windows XP PHP Version: 6CVS-2009-01-21 (snap) Assigned To: mike New Comment: Hi Mike

#47179 [Opn]: gzuncompress does not report expcted error

2009-01-21 Thread wharmby at uk dot ibm dot com
ID: 47179 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Open Bug Type: Zlib Related Operating System: Windows XP PHP Version: 6CVS-2009-01-21 (snap) New Comment: New test dropped into php 5.2

#47178 [Opn]: Missing gzip headers in gzencode() output

2009-01-21 Thread wharmby at uk dot ibm dot com
ID: 47178 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Open Bug Type: Zlib Related Operating System: Windows XP PHP Version: 6CVS-2009-01-21 (snap) New Comment: New tests dropped for gzencode

#47179 [NEW]: gzuncompress does not report expcted error

2009-01-21 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Windows XP PHP version: 6CVS-2009-01-21 (snap) PHP Bug Type: Zlib Related Bug description: gzuncompress does not report expcted error Description: gzuncompress() does not report error if $limit > 0 but

#47178 [NEW]: Missing gzip headers in gzencode() output

2009-01-21 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Windows XP PHP version: 6CVS-2009-01-21 (snap) PHP Bug Type: Zlib Related Bug description: Missing gzip headers in gzencode() output Description: Missing gzip headers in output from gzencode() when

#47102 [Opn]: strripos issues unepxected warning with UNICODE haystack

2009-01-15 Thread wharmby at uk dot ibm dot com
ID: 47102 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Open Bug Type: Strings related Operating System: Windows XP PHP Version: 6CVS-2009-01-14 (snap) New Comment: 8 new tests for strripos

#47102 [NEW]: strripos issues unepxected warning with UNICODE haystack

2009-01-14 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Windows XP PHP version: 6CVS-2009-01-14 (snap) PHP Bug Type: Strings related Bug description: strripos issues unepxected warning with UNICODE haystack Description: I get an unexpected warning msg when I

#47029 [Csd]: quoted_printable_decode() produces duplicate warning

2009-01-07 Thread wharmby at uk dot ibm dot com
ID: 47029 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Closed Bug Type: Strings related Operating System: Windows XP PHP Version: 5.3CVS-2009-01-07 (snap) New Comment: Thanks guys. By the time

#47029 [NEW]: quoted_printable_decode() produces duplicate warning

2009-01-07 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Windows XP PHP version: 5.3CVS-2009-01-07 (snap) PHP Bug Type: Scripting Engine problem Bug description: quoted_printable_decode() produces duplicate warning Description: Duplicate warning messages issued by

#44703 [NEW]: htmlspecialchars() does not detect bad character set argument

2008-04-11 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Windows XP PHP version: 5.2.6RC5 PHP Bug Type: Scripting Engine problem Bug description: htmlspecialchars() does not detect bad character set argument Description: htmlspecialchars() does not always detect

#44650 [NEW]: escaepshellscmd() does not check arg count

2008-04-06 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Windows XP PHP version: 5.2.6RC4 PHP Bug Type: Scripting Engine problem Bug description: escaepshellscmd() does not check arg count Description: Calling escapeshellcmd() with more than 1 argument does not

#40021 [Fbk->Opn]: assert_options(ASSERT_CALLBACK) does not return current setting

2007-07-12 Thread wharmby at uk dot ibm dot com
ID: 40021 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com -Status: Feedback +Status: Open Bug Type: *General Issues Operating System: Windows XP -PHP Version: 4CVS-2007-01-04 (snap) +PHP Version

#41409 [NEW]: PHP does not process hexadecimal strings in a consistent manner.

2007-05-16 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Windows XP PHP version: 5CVS-2007-05-16 (CVS) PHP Bug Type: Scripting Engine problem Bug description: PHP does not process hexadecimal strings in a consistent manner. Description: PHP does not process

#41118 [Com]: PHP does not handle overflow of octal integers

2007-04-19 Thread wharmby at uk dot ibm dot com
ID: 41118 Comment by: wharmby at uk dot ibm dot com Reported By: mahesh dot vemula at in dot ibm dot com Status: Assigned Bug Type: Scripting Engine problem Operating System: RHEL 4 PHP Version: 5CVS-2007-04-17 (snap) Assigned To

#40480 [Com]: COM: "Cannot pass parameter by reference" error since 5.2.1

2007-03-01 Thread wharmby at uk dot ibm dot com
ID: 40480 Comment by: wharmby at uk dot ibm dot com Reported By: tetikr at spytech dot cz Status: Open Bug Type: COM related Operating System: Windows XP, IIS 5.1 PHP Version: 5.2.1 New Comment: Hi Tony, I fixed a very similar problem to

#40465 [Opn]: var_dump() printing details of private and protected object properties

2007-02-13 Thread wharmby at uk dot ibm dot com
ID: 40465 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Open Bug Type: Variables related Operating System: Windows XP PHP Version: 5CVS-2007-02-13 (CVS) New Comment: btw.. Given that the code

#40465 [Opn]: var_dump() printing details of private and protected object properties

2007-02-13 Thread wharmby at uk dot ibm dot com
ID: 40465 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Open Bug Type: Variables related Operating System: Windows XP PHP Version: 5CVS-2007-02-13 (CVS) New Comment: Thanks Derick. I had assumed

#40465 [NEW]: var_dump() printing details of private and protected object properties

2007-02-13 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Windows XP PHP version: 5CVS-2007-02-13 (CVS) PHP Bug Type: Scripting Engine problem Bug description: var_dump() printing details of private and protected object properties Description: I have come across

#39975 [Com]: Some error in C/C++ syntax

2007-02-02 Thread wharmby at uk dot ibm dot com
ID: 39975 Comment by: wharmby at uk dot ibm dot com Reported By: kprzemek at coig dot katowice dot pl Status: Assigned Bug Type: Compile Failure Operating System: IBM AIX 5.3 PHP Version: 5.2.0 Assigned To: tony2001 New Comment: The

#34564 [Com]: reference (in/out) parameters don't work

2007-02-02 Thread wharmby at uk dot ibm dot com
ID: 34564 Comment by: wharmby at uk dot ibm dot com Reported By: milman at gmx dot de Status: Assigned Bug Type: COM related Operating System: windows xp PHP Version: 5CVS-2005-09-20 (snap) Assigned To: wharmby New Comment: PHP 5.2

#37927 [Com]: NewWindow2 event not firing

2007-02-02 Thread wharmby at uk dot ibm dot com
ID: 37927 Comment by: wharmby at uk dot ibm dot com Reported By: massimiliano_ciceri at it dot ibm dot com Status: Assigned Bug Type: COM related Operating System: windows 2000 PHP Version: 5.1.4 Assigned To: wharmby New Comment: PHP

#35872 [Com]: CLI errors upon exit if class is left on IE

2007-01-31 Thread wharmby at uk dot ibm dot com
ID: 35872 Comment by: wharmby at uk dot ibm dot com Reported By: csaba at alum dot mit dot edu Status: Assigned Bug Type: COM related Operating System: Win XP Pro PHP Version: 5.1.1 Assigned To: wez New Comment: Commenting out the line

#35872 [Com]: CLI errors upon exit if class is left on IE

2007-01-27 Thread wharmby at uk dot ibm dot com
ID: 35872 Comment by: wharmby at uk dot ibm dot com Reported By: csaba at alum dot mit dot edu Status: Assigned Bug Type: COM related Operating System: Win XP Pro PHP Version: 5.1.1 Assigned To: wez New Comment: I will take a look at

#37927 [Com]: newwindow2 & newwindow

2007-01-26 Thread wharmby at uk dot ibm dot com
ID: 37927 Comment by: wharmby at uk dot ibm dot com Reported By: massimiliano_ciceri at it dot ibm dot com Status: Assigned Bug Type: COM related Operating System: windows 2000 PHP Version: 5.1.4 Assigned To: wez New Comment: Patch for

#37927 [Com]: newwindow2 & newwindow

2007-01-25 Thread wharmby at uk dot ibm dot com
ID: 37927 Comment by: wharmby at uk dot ibm dot com Reported By: massimiliano_ciceri at it dot ibm dot com Status: Assigned Bug Type: COM related Operating System: windows 2000 PHP Version: 5.1.4 Assigned To: wez New Comment: I have

#37927 [Com]: newwindow2 & newwindow

2007-01-25 Thread wharmby at uk dot ibm dot com
ID: 37927 Comment by: wharmby at uk dot ibm dot com Reported By: massimiliano_ciceri at it dot ibm dot com Status: Assigned Bug Type: COM related Operating System: windows 2000 PHP Version: 5.1.4 Assigned To: wez New Comment: I will

#34564 [Com]: reference (in/out) parameters don't work

2007-01-25 Thread wharmby at uk dot ibm dot com
ID: 34564 Comment by: wharmby at uk dot ibm dot com Reported By: milman at gmx dot de Status: Assigned Bug Type: COM related Operating System: windows xp PHP Version: 5CVS-2005-09-20 (snap) Assigned To: wez New Comment: 2 probelms here

#37927 [Com]: newwindow2 & newwindow

2007-01-23 Thread wharmby at uk dot ibm dot com
ID: 37927 Comment by: wharmby at uk dot ibm dot com Reported By: massimiliano_ciceri at it dot ibm dot com Status: Assigned Bug Type: COM related Operating System: windows 2000 PHP Version: 5.1.4 Assigned To: wez New Comment: I suspect

#34564 [Com]: reference (in/out) parameters don't work

2007-01-23 Thread wharmby at uk dot ibm dot com
ID: 34564 Comment by: wharmby at uk dot ibm dot com Reported By: milman at gmx dot de Status: Assigned Bug Type: COM related Operating System: windows xp PHP Version: 5CVS-2005-09-20 (snap) Assigned To: wez New Comment: Hi Wez I will

#39930 [Com]: Error passing Word macro arguments

2007-01-22 Thread wharmby at uk dot ibm dot com
ID: 39930 Comment by: wharmby at uk dot ibm dot com Reported By: poon dot fung at gmail dot com Status: Open Bug Type: COM related Operating System: Windows XP PHP Version: 5.2.0 New Comment: I have recreated the problem reported by this bug

#39930 [Com]: Error passing Word macro arguments

2007-01-19 Thread wharmby at uk dot ibm dot com
ID: 39930 Comment by: wharmby at uk dot ibm dot com Reported By: poon dot fung at gmail dot com Status: Open Bug Type: COM related Operating System: Windows XP PHP Version: 5.2.0 New Comment: As promised on internals list back in December I

#39975 [Com]: Some error in C/C++ syntax

2007-01-17 Thread wharmby at uk dot ibm dot com
ID: 39975 Comment by: wharmby at uk dot ibm dot com Reported By: kprzemek at coig dot katowice dot pl Status: Assigned Bug Type: Compile Failure Operating System: IBM AIX 5.3 PHP Version: 5.2.0 Assigned To: tony2001 New Comment: PMR

#40021 [WFx]: assert_options(ASSERT_CALLBACK) does not return current setting

2007-01-16 Thread wharmby at uk dot ibm dot com
ID: 40021 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Wont fix Bug Type: Unknown/Other Function Operating System: Windows XP PHP Version: 4CVS-2007-01-04 (snap) Assigned To: iliaa New

#40021 [WFx]: assert_options(ASSERT_CALLBACK) does not return current setting

2007-01-15 Thread wharmby at uk dot ibm dot com
ID: 40021 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Wont fix Bug Type: Unknown/Other Function Operating System: Windows XP PHP Version: 4CVS-2007-01-04 (snap) Assigned To: iliaa New

#40021 [WFx]: assert_options(ASSERT_CALLBACK) does not return current setting

2007-01-15 Thread wharmby at uk dot ibm dot com
ID: 40021 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Wont fix Bug Type: Unknown/Other Function Operating System: Windows XP PHP Version: 4CVS-2007-01-04 (snap) Assigned To: iliaa New

#40098 [Csd]: php_fopen_primary_script() not thread safe

2007-01-12 Thread wharmby at uk dot ibm dot com
ID: 40098 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Closed Bug Type: Streams related Operating System: Linux RHEL4 PHP Version: 5CVS-2007-01-11 (snap) Assigned To: iliaa New Comment

#40098 [Csd]: php_fopen_primary_script() not thread safe

2007-01-12 Thread wharmby at uk dot ibm dot com
ID: 40098 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Closed Bug Type: Streams related Operating System: Linux RHEL4 PHP Version: 5CVS-2007-01-11 (snap) Assigned To: iliaa New Comment

#40098 [Csd]: php_fopen_primary_script() not thread safe

2007-01-12 Thread wharmby at uk dot ibm dot com
ID: 40098 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Closed Bug Type: Streams related Operating System: Linux RHEL4 PHP Version: 5CVS-2007-01-11 (snap) Assigned To: iliaa New Comment

#39975 [Com]: Some error in C/C++ syntax

2007-01-11 Thread wharmby at uk dot ibm dot com
ID: 39975 Comment by: wharmby at uk dot ibm dot com Reported By: kprzemek at coig dot katowice dot pl Status: Assigned Bug Type: Compile Failure Operating System: IBM AIX 5.3 PHP Version: 5.2.0 Assigned To: tony2001 New Comment: Having

#40098 [NEW]: php_fopen_primary_script() not thread safe

2007-01-11 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Linux RHEL4 PHP version: 5CVS-2007-01-11 (snap) PHP Bug Type: Scripting Engine problem Bug description: php_fopen_primary_script() not thread safe Description: The current implementation of

#40079 [NEW]: php_get_current_user() not thread safe

2007-01-09 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Linux RHEL4 PHP version: 5CVS-2007-01-09 (snap) PHP Bug Type: Scripting Engine problem Bug description: php_get_current_user() not thread safe Description: The current implementation of php_get_current_user

#39975 [Com]: Some error in C/C++ syntax

2007-01-05 Thread wharmby at uk dot ibm dot com
ID: 39975 Comment by: wharmby at uk dot ibm dot com Reported By: kprzemek at coig dot katowice dot pl Status: Assigned Bug Type: Compile Failure Operating System: IBM AIX 5.3 PHP Version: 5.2.0 Assigned To: tony2001 New Comment: I have

#40021 [NEW]: assert_options(ASSERT_CALLBACK) does not return current setting

2007-01-04 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Windows XP PHP version: 4CVS-2007-01-04 (snap) PHP Bug Type: Scripting Engine problem Bug description: assert_options(ASSERT_CALLBACK) does not return current setting Description: This issue previously

#39975 [Com]: Some error in C/C++ syntax

2007-01-03 Thread wharmby at uk dot ibm dot com
ID: 39975 Comment by: wharmby at uk dot ibm dot com Reported By: kprzemek at coig dot katowice dot pl Status: Assigned Bug Type: Compile Failure Operating System: IBM AIX 5.3 PHP Version: 5.2.0 Assigned To: tony2001 New Comment: A

#39754 [NEW]: Some POSIX extension functions not thread safe

2006-12-06 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Linux RHEL4 PHP version: 5CVS-2006-12-06 (snap) PHP Bug Type: Unknown/Other Function Bug description: Some POSIX extension functions not thread safe Description: The current implementation of the following

#39648 [Csd]: Implementation of PHP functions chown() and chgrp() not thread safe.

2006-11-30 Thread wharmby at uk dot ibm dot com
ID: 39648 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Closed Bug Type: Unknown/Other Function Operating System: Linux RHEL4 PHP Version: 5CVS-2006-11-27 (snap) Assigned To: iliaa New

#39648 [NEW]: Implementation of PHP functions chown() and chgrp() not thread safe.

2006-11-27 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Linux RHEL4 PHP version: 5CVS-2006-11-27 (snap) PHP Bug Type: Unknown/Other Function Bug description: Implementation of PHP functions chown() and chgrp() not thread safe. Description: The current

#39623 [Opn]: putenv() function not thread safe on Linux

2006-11-25 Thread wharmby at uk dot ibm dot com
ID: 39623 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Open Bug Type: Unknown/Other Function Operating System: Linux RHEL4 PHP Version: 5CVS-2006-11-24 (CVS) New Comment: Sorry uploaded wrong

#39623 [NEW]: putenv() function not thread safe on Linux

2006-11-24 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Linux RHEL4 PHP version: 5CVS-2006-11-24 (CVS) PHP Bug Type: Unknown/Other Function Bug description: putenv() function not thread safe on Linux Description: The implementation of putenv() in standard

#39613 [NEW]: Segmentation fault in imap initialization due to missing module dependency

2006-11-24 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Linux RHEL4 PHP version: 5CVS-2006-11-24 (snap) PHP Bug Type: Reproducible crash Bug description: Segmentation fault in imap initialization due to missing module dependency Description: Using latest 5.2

#39548 [NEW]: ZMSG_LOG_SCRIPT_NAME not routed to OutputDebugString() on Windows

2006-11-17 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Windows XP PHP version: 5CVS-2006-11-17 (snap) PHP Bug Type: Scripting Engine problem Bug description: ZMSG_LOG_SCRIPT_NAME not routed to OutputDebugString() on Windows Description: I have been playing

#39534 [NEW]: Error in maths to calculate of ZEND_MM_ALIGNED_MIN_HEADER_SIZE

2006-11-16 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Windows XP PHP version: 5CVS-2006-11-16 (snap) PHP Bug Type: Scripting Engine problem Bug description: Error in maths to calculate of ZEND_MM_ALIGNED_MIN_HEADER_SIZE Description: Error in maths spotted whilst

#39344 [Opn]: Unnecessary calls to OnModify callback routine for an extension INI directive

2006-11-03 Thread wharmby at uk dot ibm dot com
ID: 39344 User updated by: wharmby at uk dot ibm dot com Reported By: wharmby at uk dot ibm dot com Status: Open Bug Type: Scripting Engine problem Operating System: Windows XP -PHP Version: 4CVS-2006-11-02 (snap) +PHP Version: 5CVS-2006-11-02

#39344 [NEW]: Unnecessary calls to OnModify callback routine for an extension INI directive

2006-11-02 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Windows XP PHP version: 4CVS-2006-11-02 (snap) PHP Bug Type: Scripting Engine problem Bug description: Unnecessary calls to OnModify callback routine for an extension INI directive Description: Unnecessary

#39320 [NEW]: ZEND_HASH_APPLY_STOP causes deletion

2006-10-31 Thread wharmby at uk dot ibm dot com
From: wharmby at uk dot ibm dot com Operating system: Windows XP PHP version: 5CVS-2006-10-31 (snap) PHP Bug Type: Scripting Engine problem Bug description: ZEND_HASH_APPLY_STOP causes deletion Description: Specifying hash apply call-back function return code