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/dl/394_similar_text.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

function do_similar_text_test(string $hint, string $first, string $second) {
Expand Down
1 change: 1 addition & 0 deletions tests/phpt/dl/429_addslashes.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@ok k2_skip
k2_skip: stripcslashes is not supported
<?php
for ($i = 0; $i < 256; $i++)
$s_full .= chr ($i);
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/467_rawid2long.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

function dec2hex($dec) {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/472_nbody.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok benchmark k2_skip
@ok benchmark
<?
/* The Computer Language Benchmarks Game
http://shootout.alioth.debian.org/
Expand Down
1 change: 1 addition & 0 deletions tests/phpt/dl/473_file.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@ok k2_skip
k2_skip: Unknown function clearstatcache
<?php
var_dump (dirname ('..'));
var_dump (dirname ('phpt/'));
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/478_strip_tags.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok ok_old_php k2_skip
@ok ok_old_php
<?php
for ($i = 0; $i < 3; ++$i) {
$str = 'test<br>test';
Expand Down
1 change: 1 addition & 0 deletions tests/phpt/dl/480_old_test.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@ok benchmark k2_skip
k2_skip: gethostbynamel is not supported
<?php
header('WWW-Authenticate: Negotiate');
header('WWW-Authenticate: NTLM', false);
Expand Down
1 change: 1 addition & 0 deletions tests/phpt/dl/484_strftime.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@ok fixme k2_skip
k2_skip: call to unsupported function : strftime
<?php

function test() {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/491_strpos.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
$str = "abacaba asdas nasdn ansdn andsn d";
var_dump (mb_strtolower($str, 'UTF-8'));
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/493_number_format.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

#var_dump(number_format(1e80, 0, '', ' '));
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/954_infer.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

/*
Expand Down
1 change: 1 addition & 0 deletions tests/phpt/dl/976_sprintf.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@ok k2_skip
k2_skip: Unknown function vprintf
<?php

printf ("-<a>-%d-<b>-%s-<c>-%f\n", 1, "123", 0.2);
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/dl/985_benchmark_sootout_01_lists.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok benchmark k2_skip
@ok benchmark
<?
/* The Great Computer Language Shootout
http://shootout.alioth.debian.org/
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/exceptions/07_error_methods.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

function test() {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/exceptions/08_exception_methods.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

function test() {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/generics/023_generic_method_in_interface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/migration_php8/002_string_number_comparison.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@k2_skip kphp_runtime_should_warn
@k2_skip
/Comparison \(operator <\) results in PHP 7 and PHP 8 are different for 0 and "foo" \(PHP7: false, PHP8: true\)/
/Comparison \(operator <\) results in PHP 7 and PHP 8 are different for 42 and "42foo" \(PHP7: false, PHP8: true\)/
/Comparison \(operator <\) results in PHP 7 and PHP 8 are different for "100foo" and 42 \(PHP7: false, PHP8: true\)/
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/modulite/007_composer_ok/007_composer_ok.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
KPHP_COMPOSER_ROOT={dir}
<?php
require_once __DIR__ . '/vendor/autoload.php';
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/msgpack_serialize/007_msgpack_serialize_var.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/nn/006_substr_replace.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

function substr_replace_test1() {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/nn/009_strnatcmp.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
/* Prototype : int strnatcmp ( string $str1 , string $str2 )
* Description: String comparisons using a "natural order" algorithm
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/optional/005_string_functions.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/phc/parsing/die.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php
die;
die();
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/pk/012_array_fill.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

function demo1() {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/pk/021_minmax.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

var_dump(min([1]));
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/pk/029_date_default_timezone_get.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

date_default_timezone_set('Europe/Moscow');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@ok k2_skip
k2_skip: call to unsupported function : flush
<?php

echo "Zero";
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/sprintf/001_sprintf.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

function nullableString(): ?string {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/string_functions/003_str_ireplace.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

$strings = ["hello", "Hello world", "Hello World hello"];
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/string_functions/008_misc.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ok k2_skip
@ok
<?php

function extend_test_suite($tests) {
Expand Down
1 change: 1 addition & 0 deletions tests/phpt/tcp/basic_connections.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@ok k2_skip tcp_server:48091
k2_skip: call to unsupported function : fgetc
<?php

function test_simple_connection($address, $request) {
Expand Down
1 change: 1 addition & 0 deletions tests/phpt/tcp/connection_options.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@ok k2_skip tcp_server:48092
k2_skip: Unknown function stream_set_blocking
<?php

function test_non_blocking_connection($address, $request) {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpt/warnings/6_disable_warnings.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@kphp_runtime_should_not_warn ok k2_skip
@kphp_runtime_should_not_warn ok
<?php

function should_warn() {
Expand Down
Loading