Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/phpt/array/028_explode_error.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@kphp_should_fail k2_skip
@kphp_should_fail
/isset, !==, ===, is_array or similar function result may differ from PHP/
/ExprNode explode\[\.\] at 028_explode_error\.php:7/
<?php
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/array/029_explode_error.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@kphp_should_fail k2_skip
@kphp_should_fail
/isset, !==, ===, is_array or similar function result may differ from PHP/
<?php

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/array/031_explode_error.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@kphp_should_fail k2_skip
@kphp_should_fail
/isset, !==, ===, is_array or similar function result may differ from PHP/
/ExprNode explode\[\.\] at 031_explode_error\.php:7/
<?php
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/array_access/002_set_append.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/array_access/003_as_array_access.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/array_access/005_inheritance.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/array_access/007_assignment_chain.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/array_access/008_isset_unset.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/array_access/009_empty.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/by_name/01_by_name_construct.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

class NoCtor {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/by_name/02_by_name_call.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

class HasSomeFields {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/by_name/03_by_name_get_const.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

class HasSomeFields {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/by_name/04_by_name_get_field.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

class HasSomeFields {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/by_name/100_by_name_non_constexpr.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@kphp_should_fail k2_skip
@kphp_should_fail
/Syntax 'new \$class_name' works only if \$class_name is compile-time known/
/Syntax '\$class_name::method\(\)' works only if \$class_name is compile-time known/
/Syntax '\$class_name::CONST' works only if \$class_name is compile-time known/
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/by_name/102_get_unresolved.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@kphp_should_fail k2_skip
@kphp_should_fail
/Syntax 'new \$class_name' not resolved: __construct\(\) not found in I/
/Syntax '\$class_name::method\(\)' not resolved: method unexistingSm not found in class A/
/Syntax '\$class_name::method\(\)' works only for static methods, but A::im is an instance method/
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/by_name/103_by_name_private_1.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@kphp_should_fail k2_skip
@kphp_should_fail
/Can't access private static field count/
/Can't access private static method A::sm/
/Can't access private method A::__construct/
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/by_name/103_by_name_private_2.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@kphp_should_fail k2_skip
@kphp_should_fail
/Can't access private const A::ONE/
<?php

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/by_name/105_direct_by_name_call.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@kphp_should_fail k2_skip
@kphp_should_fail
/Called internal function _by_name_call_method\(\)/
/Called internal function _by_name_construct\(\)/
<?php
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/by_name/106_by_name_wrong_args.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@kphp_should_fail k2_skip
@kphp_should_fail
/in callByName<A>/
/\$class_name::sf\(\);/
/Too few arguments in call to A::sf\(\), expected 1, have 0/
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/by_name/107_by_name_wrong_tinf.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@kphp_should_fail k2_skip
@kphp_should_fail
KPHP_SHOW_ALL_TYPE_ERRORS=1
/in callByName<A>/
/pass string to argument \$a of A::sf/
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/cl/001_base_class.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/cl/002_use.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';
use Classes\Common;
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/cl/003_class_in_class.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/cl/005_cast_to_array_debug.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

require_once 'kphp_tester_include.php';
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/cl/006_interface_cast_to_array.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/cl/007_to_array_debug_with_extends.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/cl/008_fields_default_value.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

require_once 'kphp_tester_include.php';
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/cl/009_to_array_debug_with_class_names.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/cl/027_ternary_operator_assumptions.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

interface AI {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/cl/030_resolve_from_phpdoc.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/cl/111_Memcache.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/cl/116_wa_serialize.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';
require_once 'kphp_tester_include.php';
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/cl/128_prop_of_same_class.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/cl/139_class_inside_fork.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
#ifndef KPHP
require_once 'kphp_tester_include.php';
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/cl/140_class_from_fork.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
#ifndef KPHP
require_once 'kphp_tester_include.php';
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/cl/198_concatenation.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

require_once 'kphp_tester_include.php';
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/class_inheritance/010_to_array_debug.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

require_once '008_two_level_inheritance.php';
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/class_inheritance/022_ref_cnt.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

#ifndef KPHP
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
class A {
public function __clone() {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/clone_keyword/006_reference_count.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

#ifndef KPHP
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/clone_keyword/007_clone_interfaces.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

#ifndef KPHP
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/colors/015_colored_resumable.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/colors/016_colored_resumable_2.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@kphp_should_fail k2_skip
@kphp_should_fail
/curl from api/
/api@api -> resum -> resum2 -> callurl@has-curl/
<?php
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/declare/01_strict_types.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@ok k2_skip
@ok
<?php
require_once __FILE__ . '.inc';
2 changes: 1 addition & 1 deletion tests/phpt/declare/02_strict_types2.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@ok k2_skip
@ok
<?php
require_once __FILE__ . '.inc';
2 changes: 1 addition & 1 deletion tests/phpt/declare/03_strict_types_error.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@kphp_should_fail k2_skip
@kphp_should_fail
KPHP_SHOW_ALL_TYPE_ERRORS=1
/pass int to argument \$str1 of strcmp/
/but it's declared as @param string/
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/declare/09_strict_types_not_enabled.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@ok k2_skip
@ok
<?php
require_once __FILE__ . '.inc';
2 changes: 1 addition & 1 deletion tests/phpt/dl/1005_op_pow.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

define ('TWO', 2);
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/1008_fail_class_instance_with_index_key.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@kphp_should_fail k2_skip
@kphp_should_fail
<?php
class A {
public $x = 20;
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/1023_short_list_assignment.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/1025_sprintf_dollar_sign.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

$num = 10;
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/1026_hrtime.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

// We can't test the exact values, but we can try to
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/1028_math_constants.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

function test_math_constants() {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/1035_to_array_debug_tuple.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
require_once 'kphp_tester_include.php';

Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/1040_nohint_always_throw.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@kphp_should_fail k2_skip
@kphp_should_fail
/\$i = getInt\(2\);/
/Using result of void function getInt/
/echo \$i, "\\n ";/
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/386_random_int.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok php8 k2_skip
@ok php8
<?php

function test_random_int() {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/389_regexp.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
var_dump (preg_match ('/\s/', json_decode ('"\u00a0"')));
var_dump (preg_match ('/\s/u', json_decode ('"\u00a0"')));
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/390_int_to_string.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

$ints = [
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/392_int64_indexing.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

function test_array_int64_indexing() {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/417_unset.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok benchmark k2_skip
@ok benchmark
<?php
$start = 1;
$finish = 350000;
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/430_htmlentities.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok benchmark k2_skip
@ok benchmark
<?php
for ($i = 32; $i < 128; $i++)
$s .= chr ($i);
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/433_nl2br.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok benchmark k2_skip
@ok benchmark
<?php
$s = "This\r\nis\n\ra\nstring\radasdasdasdasdasdasjgjhsdgf4 6r34 t5 t54 t 54g 4g54 t 54 t 54 t 54 5534344r 34f34 f34fg 34tg35t5 t5tjsdgfhasdgasdgfjhgryt4512f14t4g5r3465f675s67f5sd675fas685gf78gb6df79sb6sdg96hsdg796hg6hfg876hfg7h6fg78h6fg78h6fg78h6fg78h6gf786hfg786hfg7h6fg786hg78h67h6fg786\n";
$s = str_repeat ("\r\r", 100);
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/440_str_replace_char.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok benchmark k2_skip
@ok benchmark
<?php

for ($i = 0; $i < 1000; $i++) {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/443_vector.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok benchmark k2_skip
@ok benchmark
<?php
$a = array();
for ($i = 0; $i < 250000; $i++) {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/445_divide.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
$is_kphp = true;
#ifndef KPHP
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/460_OrFalse.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
fwrite (STDERR, "begin\n");
$x = "asdasd";
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/462_foreach.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok benchmark k2_skip
@ok benchmark
<?php
function hash2($n) {
for ($i = 0; $i < $n; $i++) {
Expand Down
Loading
Loading