|
by: TheKeith |
last post by:
Hi, I'm just learning php now for the first time and I'm having a little
trouble understanding something.
In the following example:
------------------------------------------------------------------------
<?php
function test ($thenum) {
|
by: Ian.H |
last post by:
Hi all,
I'm trying to write a PHP colour parser and after various attempts,
something, somewhere trips it over. Some details:
String to parse:
$origString = '^1foo^5bar';
|
by: George Sakkis |
last post by:
I downloaded the latest Komodo (3.1) and configured it for python 2.4
so that it doesn't show decorators and genexps as syntax errors, but
background syntax checking doesn't seem to work at all for python 2.4.
Even for correct files, it shows a "Syntax checking error: Error
checking syntax: retval = 128, stderr=" alert. For python 2.3 it works...
|
by: nonzero |
last post by:
I was hoping someone could explain the Syntax of the second argument of the
bind() function.
bind(sockfd, (struct sockaddr *)&my_addr, sizeof(struct sockaddr));
.....................(struct sockaddr
*)&my_addr....................................
I understand that it is converting the structure at &my_addr to a structure
type sockaddr. ...
|
by: Karim Nassar |
last post by:
I am writing functions and I find it curious that CREATE FUNCTION does
not do syntax checking.
Example:
test=# CREATE FUNCTION foo(INTEGER) RETURNS BOOLEAN
test-# AS 'this is total crap' LANGUAGE plpgsql;
CREATE FUNCTION
test=# select foo(1);
ERROR: syntax error at or near "this"
|
|
by: Dmitry Anikin |
last post by:
I mean, it's very convenient when default parameters
can be in any position, like
def a_func(x = 2, y = 1, z):
...
(that defaults must go last is really a C++ quirk which
is needed for overload resolution, isn't it?)
and when calling, just omit parameter when you want to
use defaults:
a_func(, , 3)
|
by: Dima Vidmich |
last post by:
Recently I think about some sort of safe includes which will not fail
if parse error happened. And many different sourses said that this is
imposible without some non standard modules and without calling "perl
-l"
I made some investigation and found this way:
function check_syntax($filename)
{
// load file
|
by: lawrence k |
last post by:
Just noticed this for the first time:
http://us2.php.net/manual/en/function.create-function.php
Anyone know if PHP supports enclosures, like Javascript or Ruby? I've
always assumed PHP lacked these. If I create a function with object
instances, will the instances retain their state if the function
definition is stored in a variable?
|
by: FM |
last post by:
Hi there:
My question is about checking my sql-syntax against DB2UDB V9 throug
JDBC 2.0
Is there a way to check my syntax,for example "select * from T1"?
Thank you for your help.
Regards,
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
|