Skip to content
This repository was archived by the owner on Aug 24, 2021. It is now read-only.
Closed
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
7 changes: 4 additions & 3 deletions Zend/tests/concat_003.phpt
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
--TEST--
Concatenating many small strings should not slowdown allocations
--SKIPIF--
<?php if (PHP_DEBUG) { die ("skip debug version is slow"); } ?>
<?php if ( ! PHP_DEBUG) die('skip requires debug build'); ?>
--FILE--
<?php

$time = microtime(TRUE);

/* This might vary on Linux/Windows, so the worst case and also count in slow machines. */
$t_max = 1.0;
/* This might vary on Linux/Windows, so the worst case and also count in slow machines.
in travis machine the test is very slow, so the parameter $t_max was incresead to 10.0*/
$t_max = 10.0;

$datas = array_fill(0, 220000, [
'000.000.000.000',
Expand Down