Skip to content

Commit 04fb3f2

Browse files
tvlooynikic
authored andcommitted
Remove superfluous semicolons
1 parent b3849ed commit 04fb3f2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+67
-67
lines changed

Zend/tests/bug35470.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Bug #35470 (Assigning global using variable name from array doesn't function)
55
$x = array("test", "55");
66
global ${$x[0]};
77
${$x[0]} = $x[1];
8-
echo "Test: $test\n";;
8+
echo "Test: $test\n";
99
?>
1010
--EXPECT--
1111
Test: 55

Zend/tests/bug49893.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class B {
2020
try {
2121
$b = new B();
2222
} catch(Exception $e) {
23-
echo $e->getMessage() . "\n";;
23+
echo $e->getMessage() . "\n";
2424
}
2525
?>
2626
--EXPECT--

Zend/zend_alloc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1880,7 +1880,7 @@ ZEND_API size_t zend_mm_gc(zend_mm_heap *heap)
18801880
if (free_counter == bin_elements[i]) {
18811881
has_free_pages = 1;
18821882
}
1883-
chunk->map[page_num] = ZEND_MM_SRUN_EX(i, free_counter);;
1883+
chunk->map[page_num] = ZEND_MM_SRUN_EX(i, free_counter);
18841884
p = p->next_free_slot;
18851885
}
18861886

@@ -1907,7 +1907,7 @@ ZEND_API size_t zend_mm_gc(zend_mm_heap *heap)
19071907
ZEND_ASSERT(ZEND_MM_SRUN_BIN_NUM(info) == i);
19081908
if (ZEND_MM_SRUN_FREE_COUNTER(info) == bin_elements[i]) {
19091909
/* remove from cache */
1910-
p = p->next_free_slot;;
1910+
p = p->next_free_slot;
19111911
*q = p;
19121912
} else {
19131913
q = &p->next_free_slot;

Zend/zend_execute_API.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1667,7 +1667,7 @@ ZEND_API int zend_set_local_var(zend_string *name, zval *value, int force) /* {{
16671667
if (force) {
16681668
zend_array *symbol_table = zend_rebuild_symbol_table();
16691669
if (symbol_table) {
1670-
return zend_hash_update(symbol_table, name, value) ? SUCCESS : FAILURE;;
1670+
return zend_hash_update(symbol_table, name, value) ? SUCCESS : FAILURE;
16711671
}
16721672
}
16731673
} else {
@@ -1709,7 +1709,7 @@ ZEND_API int zend_set_local_var_str(const char *name, size_t len, zval *value, i
17091709
if (force) {
17101710
zend_array *symbol_table = zend_rebuild_symbol_table();
17111711
if (symbol_table) {
1712-
return zend_hash_str_update(symbol_table, name, len, value) ? SUCCESS : FAILURE;;
1712+
return zend_hash_str_update(symbol_table, name, len, value) ? SUCCESS : FAILURE;
17131713
}
17141714
}
17151715
} else {

ext/com_dotnet/com_handlers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ static union _zend_function *com_method_get(zend_object **object_ptr, zend_strin
302302
f.arg_info = ecalloc(bindptr.lpfuncdesc->cParams, sizeof(zend_arg_info));
303303

304304
for (i = 0; i < bindptr.lpfuncdesc->cParams; i++) {
305-
f.arg_info[i].type = ZEND_TYPE_ENCODE(0,1);;
305+
f.arg_info[i].type = ZEND_TYPE_ENCODE(0,1);
306306
if (bindptr.lpfuncdesc->lprgelemdescParam[i].paramdesc.wParamFlags & PARAMFLAG_FOUT) {
307307
f.arg_info[i].pass_by_reference = ZEND_SEND_BY_REF;
308308
}

ext/curl/interface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2508,7 +2508,7 @@ static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue) /* {{{
25082508
zval_ptr_dtor(&ch->handlers->write_header->stream);
25092509
ch->handlers->write_header->fp = fp;
25102510
ch->handlers->write_header->method = PHP_CURL_FILE;
2511-
ZVAL_COPY(&ch->handlers->write_header->stream, zvalue);;
2511+
ZVAL_COPY(&ch->handlers->write_header->stream, zvalue);
25122512
} else {
25132513
php_error_docref(NULL, E_WARNING, "the provided file handle is not writable");
25142514
return FAILURE;

ext/exif/exif.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3009,7 +3009,7 @@ static int exif_process_user_comment(image_info_type *ImageInfo, char **pszInfoP
30093009
{
30103010
int a;
30113011
char *decode;
3012-
size_t len;;
3012+
size_t len;
30133013

30143014
*pszEncoding = NULL;
30153015
/* Copy the comment */

ext/imap/tests/imap_alerts_error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ echo "*** Testing imap_alerts() : error conditions ***\n";
1616

1717
// One argument
1818
echo "\n-- Testing imap_alerts() function with one argument --\n";
19-
$extra_arg = 10;;
19+
$extra_arg = 10;
2020
var_dump( imap_alerts($extra_arg) );
2121

2222
?>

ext/intl/tests/rbbiter_getBinaryRules_basic.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $rules = <<<RULES
2222
!!safe_reverse;
2323
RULES;
2424
$rbbi = new IntlRuleBasedBreakIterator($rules);
25-
$rbbi->setText('sdfkjsdf88á.... ,;');;
25+
$rbbi->setText('sdfkjsdf88á.... ,;');
2626

2727
$br = $rbbi->getBinaryRules();
2828

ext/intl/tests/rbbiter_getRuleStatusVec_basic.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $rules = <<<RULES
2525
!!safe_reverse;
2626
RULES;
2727
$rbbi = new IntlRuleBasedBreakIterator($rules);
28-
$rbbi->setText('sdfkjsdf88á.... ,;');;
28+
$rbbi->setText('sdfkjsdf88á.... ,;');
2929

3030
do {
3131
var_dump($rbbi->current(), $rbbi->getRuleStatusVec());
@@ -56,4 +56,4 @@ array(1) {
5656
[0]=>
5757
int(4)
5858
}
59-
==DONE==
59+
==DONE==

ext/mysqli/mysqli_exception.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void php_mysqli_throw_sql_exception(char *sqlstate, int errorno, char *format, .
4444

4545
va_start(arg, format);
4646
vspprintf(&message, 0, format, arg);
47-
va_end(arg);;
47+
va_end(arg);
4848

4949
if (!(MyG(report_mode) & MYSQLI_REPORT_STRICT)) {
5050
php_error_docref(NULL, E_WARNING, "(%s/%d): %s", sqlstate, errorno, message);

ext/mysqli/tests/065.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if (!function_exists('mysqli_set_charset')) {
4141
printf("[005] Expecting 2/int got %s/%s\n", gettype($tmp), $tmp);
4242

4343
if ('gbk' !== ($tmp = $mysql->character_set_name()))
44-
printf("[005] Expecting gbk/string got %s/%s\n", gettype($tmp), $tmp);;
44+
printf("[005] Expecting gbk/string got %s/%s\n", gettype($tmp), $tmp);
4545
}
4646
}
4747
$mysql->close();

ext/mysqli/tests/mysqli_debug.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if (defined('MYSQLI_DEBUG_TRACE_ENABLED') && !MYSQLI_DEBUG_TRACE_ENABLED)
1717
?>
1818
--FILE--
1919
<?php
20-
require_once('connect.inc');;
20+
require_once('connect.inc');
2121

2222
if (NULL !== ($tmp = @mysqli_debug()))
2323
printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);

ext/mysqli/tests/mysqli_debug_append.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if (!$IS_MYSQLND)
2020
?>
2121
--FILE--
2222
<?php
23-
require_once('connect.inc');;
23+
require_once('connect.inc');
2424

2525
if (true !== ($tmp = mysqli_debug(sprintf('d:t:O,%s/mysqli_debug_phpt.trace', sys_get_temp_dir()))))
2626
printf("[001] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);

ext/mysqli/tests/mysqli_debug_mysqlnd_control_string.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if (!$IS_MYSQLND)
2020
?>
2121
--FILE--
2222
<?php
23-
require_once('connect.inc');;
23+
require_once('connect.inc');
2424
require_once('table.inc');
2525

2626
function try_control_string($link, $control_string, $trace_file, $offset) {

ext/mysqli/tests/mysqli_debug_mysqlnd_only.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (!$IS_MYSQLND)
2121
?>
2222
--FILE--
2323
<?php
24-
require_once('connect.inc');;
24+
require_once('connect.inc');
2525
require_once('table.inc');
2626

2727
function try_control_string($link, $control_string, $trace_file, $offset) {
@@ -125,4 +125,4 @@ if (!$IS_MYSQLND)
125125
require_once("clean_table.inc");
126126
?>
127127
--EXPECTF--
128-
done!
128+
done!

ext/oci8/tests/coll_019.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require(dirname(__FILE__).'/skipif.inc');
1313

1414
require dirname(__FILE__)."/connect.inc";
1515

16-
$ora_sql = "DROP TYPE ".$type_name;;
16+
$ora_sql = "DROP TYPE ".$type_name;
1717
$statement = oci_parse($c,$ora_sql);
1818
@oci_execute($statement);
1919

ext/oci8/tests/lob_040.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ for ($i = 0; $i < NUMLOBS; $i++) {
2929
}
3030

3131
for ($i = 0; $i < NUMLOBS; $i++) {
32-
echo "Row $i Size: " . $row[$i][0]->size() . "\n";;
32+
echo "Row $i Size: " . $row[$i][0]->size() . "\n";
3333
echo "Pos 1: " . $row[$i][0]->tell() . "\n";
34-
echo "Data: " . $row[$i][0]->read(5) . "\n";;
34+
echo "Data: " . $row[$i][0]->read(5) . "\n";
3535
echo "Pos 2: " . $row[$i][0]->tell() . "\n";
3636
echo "Data: " . $row[$i][0]->read(12) . "\n";
3737
}

ext/opcache/ZendAccelerator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ static void accel_copy_permanent_strings(zend_new_interned_string_func_t new_int
596596
ZEND_HASH_FOREACH_BUCKET(CG(auto_globals), p) {
597597
zend_auto_global *auto_global;
598598

599-
auto_global = (zend_auto_global*)Z_PTR(p->val);;
599+
auto_global = (zend_auto_global*)Z_PTR(p->val);
600600

601601
zend_string_addref(auto_global->name);
602602
auto_global->name = new_interned_string(auto_global->name);

ext/opcache/zend_accelerator_debug.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
#define ACCEL_LOG_INFO 3
2929
#define ACCEL_LOG_DEBUG 4
3030

31-
void zend_accel_error(int type, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 2, 3);;
31+
void zend_accel_error(int type, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 2, 3);
3232

3333
#endif /* _ZEND_ACCELERATOR_DEBUG_H */

ext/opcache/zend_shared_alloc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,14 +228,14 @@ int zend_shared_alloc_startup(size_t requested_size)
228228
p_tmp_shared_globals = (zend_smm_shared_globals *) zend_shared_alloc(sizeof(zend_smm_shared_globals));
229229
if (!p_tmp_shared_globals) {
230230
zend_accel_error(ACCEL_LOG_FATAL, "Insufficient shared memory!");
231-
return ALLOC_FAILURE;;
231+
return ALLOC_FAILURE;
232232
}
233233
memset(p_tmp_shared_globals, 0, sizeof(zend_smm_shared_globals));
234234

235235
tmp_shared_segments = zend_shared_alloc(shared_segments_array_size + ZSMMG(shared_segments_count) * sizeof(void *));
236236
if (!tmp_shared_segments) {
237237
zend_accel_error(ACCEL_LOG_FATAL, "Insufficient shared memory!");
238-
return ALLOC_FAILURE;;
238+
return ALLOC_FAILURE;
239239
}
240240

241241
copy_shared_segments(tmp_shared_segments, ZSMMG(shared_segments)[0], ZSMMG(shared_segments_count), S_H(segment_type_size)());
@@ -249,7 +249,7 @@ int zend_shared_alloc_startup(size_t requested_size)
249249
ZSMMG(shared_memory_state).positions = (int *)zend_shared_alloc(sizeof(int) * ZSMMG(shared_segments_count));
250250
if (!ZSMMG(shared_memory_state).positions) {
251251
zend_accel_error(ACCEL_LOG_FATAL, "Insufficient shared memory!");
252-
return ALLOC_FAILURE;;
252+
return ALLOC_FAILURE;
253253
}
254254

255255
ZCG(locked) = 0;

ext/pcre/tests/split2.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pcre.jit=0
88
var_dump(preg_split('/(\d*)/', 'ab2c3u', -1, PREG_SPLIT_DELIM_CAPTURE));
99
var_dump(preg_split('/(\d*)/', 'ab2c3u', -1, PREG_SPLIT_OFFSET_CAPTURE));
1010
var_dump(preg_split('/(\d*)/', 'ab2c3u', -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE));
11-
var_dump(preg_split('/(\d*)/', 'ab2c3u', -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_OFFSET_CAPTURE));;
11+
var_dump(preg_split('/(\d*)/', 'ab2c3u', -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_OFFSET_CAPTURE));
1212
var_dump(preg_split('/(\d*)/', 'ab2c3u', -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_OFFSET_CAPTURE));
1313
var_dump(preg_split('/(\d*)/', 'ab2c3u', -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_OFFSET_CAPTURE));
1414

ext/pdo/pdo_stmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ static int do_fetch(pdo_stmt_t *stmt, int do_bind, zval *return_value, enum pdo_
858858
case PDO_FETCH_NAMED:
859859
if (!return_all) {
860860
ZVAL_NEW_ARR(return_value);
861-
zend_hash_init(Z_ARRVAL_P(return_value), stmt->column_count, NULL, ZVAL_PTR_DTOR, 0);;
861+
zend_hash_init(Z_ARRVAL_P(return_value), stmt->column_count, NULL, ZVAL_PTR_DTOR, 0);
862862
} else {
863863
array_init(return_value);
864864
}

ext/phar/tests/011.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ __HALT_COMPILER(); ?>";
1515
// compressed file length does not match incompressed lentgh for an uncompressed file
1616

1717
$files = array();
18-
$files['a'] = array('cont'=>'a','ulen'=>1,'clen'=>2);;
18+
$files['a'] = array('cont'=>'a','ulen'=>1,'clen'=>2);
1919
include 'files/phar_test.inc';
2020
try {
2121
include $fname;

ext/phar/tests/pharfileinfo_getcrc32.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ __HALT_COMPILER(); ?>";
1616
// compressed file length does not match incompressed lentgh for an uncompressed file
1717

1818
$files = array();
19-
$files['a/subdir/here'] = array('cont'=>'a','ulen'=>1,'clen'=>1);;
19+
$files['a/subdir/here'] = array('cont'=>'a','ulen'=>1,'clen'=>1);
2020
include 'files/phar_test.inc';
2121

2222
$b = new PharFileInfo($pname . '/a/subdir');
@@ -46,4 +46,4 @@ echo $e->getMessage() . "\n";
4646
Phar entry is a directory, does not have a CRC
4747
Phar entry was not CRC checked
4848
int(%s)
49-
===DONE===
49+
===DONE===

ext/posix/tests/posix_getuid_error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ echo "*** Testing posix_getuid() : error conditions ***\n";
1616

1717
// One argument
1818
echo "\n-- Testing posix_getuid() function with one argument --\n";
19-
$extra_arg = 10;;
19+
$extra_arg = 10;
2020
var_dump( posix_getuid($extra_arg) );
2121

2222
echo "Done";

ext/posix/tests/posix_times_error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ echo "*** Testing posix_times() : error conditions ***\n";
1616

1717
// One argument
1818
echo "\n-- Testing posix_times() function with one argument --\n";
19-
$extra_arg = 10;;
19+
$extra_arg = 10;
2020
var_dump( posix_times($extra_arg) );
2121

2222
echo "Done";

ext/posix/tests/posix_uname_error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ echo "*** Testing posix_uname() : error conditions ***\n";
1616

1717
// One argument
1818
echo "\n-- Testing posix_uname() function with one argument --\n";
19-
$extra_arg = 10;;
19+
$extra_arg = 10;
2020
var_dump( posix_uname($extra_arg) );
2121

2222
echo "Done";

ext/readline/readline.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ PHP_FUNCTION(readline_info)
326326
if (value) {
327327
/* XXX if (rl_readline_name) free(rl_readline_name); */
328328
convert_to_string_ex(value);
329-
rl_readline_name = strdup(Z_STRVAL_P(value));;
329+
rl_readline_name = strdup(Z_STRVAL_P(value));
330330
}
331331
RETVAL_STRING(SAFE_STRING(oldstr));
332332
} else if (!strcasecmp(what, "attempted_completion_over")) {

ext/reflection/php_reflection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4753,7 +4753,7 @@ ZEND_METHOD(reflection_class, newInstance)
47534753

47544754
fcc.initialized = 1;
47554755
fcc.function_handler = constructor;
4756-
fcc.calling_scope = zend_get_executed_scope();;
4756+
fcc.calling_scope = zend_get_executed_scope();
47574757
fcc.called_scope = Z_OBJCE_P(return_value);
47584758
fcc.object = Z_OBJ_P(return_value);
47594759

ext/soap/tests/bugs/bug29844.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class LocalSoapClient extends SoapClient {
1818
function __construct($wsdl, $options) {
1919
parent::__construct($wsdl, $options);
2020
$this->server = new SoapServer($wsdl, $options);
21-
$this->server->setClass('hello_world');;
21+
$this->server->setClass('hello_world');
2222
}
2323

2424
function __doRequest($request, $location, $action, $version, $one_way = 0) {

ext/standard/array.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4549,7 +4549,7 @@ static int zval_user_compare(zval *a, zval *b) /* {{{ */
45494549
if (zend_call_function(&BG(user_compare_fci), &BG(user_compare_fci_cache)) == SUCCESS && Z_TYPE(retval) != IS_UNDEF) {
45504550
zend_long ret = zval_get_long(&retval);
45514551
zval_ptr_dtor(&retval);
4552-
return ret < 0 ? -1 : ret > 0 ? 1 : 0;;
4552+
return ret < 0 ? -1 : ret > 0 ? 1 : 0;
45534553
} else {
45544554
return 0;
45554555
}

ext/standard/scanf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ PHPAPI int php_sscanf_internal( char *string, char *format,
921921
if (numVars) {
922922
char __buf[2];
923923
__buf[0] = sch;
924-
__buf[1] = '\0';;
924+
__buf[1] = '\0';
925925
current = args[objIndex++];
926926
zval_dtor(*current);
927927
ZVAL_STRINGL( *current, __buf, 1);

ext/standard/tests/array/sizeof_error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ echo "-- Testing sizeof() with zero arguments --\n";
1717
var_dump( sizeof() );
1818
echo "-- Testing sizeof() function with more than two arguments under COUNT_NORMAL mode --\n";
1919
$var = 100;
20-
$extra_arg = 10;;
20+
$extra_arg = 10;
2121
var_dump( sizeof($var, COUNT_NORMAL, $extra_arg) );
2222
echo "-- Testing sizeof() function with more than two arguments under COUNT_RECURSIVE mode --\n";
2323
var_dump( sizeof($var, COUNT_RECURSIVE, $extra_arg) );

ext/standard/tests/class_object/get_declared_classes_error_001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "*** Testing get_declared_classes() : error conditions ***\n";
1212

1313
// One argument
1414
echo "\n-- Testing get_declared_classes() function with one argument --\n";
15-
$extra_arg = 10;;
15+
$extra_arg = 10;
1616
var_dump( get_declared_classes($extra_arg) );
1717

1818
echo "Done";

ext/standard/tests/class_object/get_declared_interfaces_error_001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "*** Testing get_declared_interfaces() : error conditions ***\n";
1212

1313
// One argument
1414
echo "\n-- Testing get_declared_interfaces() function with one argument --\n";
15-
$extra_arg = 10;;
15+
$extra_arg = 10;
1616
var_dump( get_declared_interfaces($extra_arg) );
1717

1818
echo "Done";

ext/standard/tests/class_object/get_declared_traits_error_001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "*** Testing get_declared_traits() : error conditions ***\n";
1212

1313
// One argument
1414
echo "\n-- Testing get_declared_traits() function with one argument --\n";
15-
$extra_arg = 10;;
15+
$extra_arg = 10;
1616
var_dump( get_declared_traits($extra_arg) );
1717

1818
echo "Done";

0 commit comments

Comments
 (0)