Test: /ext/standard/tests/file/readfile_basic.phpt - Version 7.4.13    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ sh: /home/work/install/php-7.4.13/sapi/cli/php: Permission denied 001- *** Testing readfile() : basic functionality *** 002- 003- -- File filled with content type: numeric -- 004- -- File opened with mode: w -- 005- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 006- int(100) 007- -- File opened with mode: wt -- 008- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 009- int(100) 010- -- File opened with mode: wb -- 011- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 012- int(100) 013- -- File opened with mode: w+ -- 014- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 015- int(100) 016- -- File opened with mode: w+b -- 017- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 018- int(100) 019- -- File opened with mode: w+t -- 020- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 021- int(100) 022- -- File opened with mode: a -- 023- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 024- int(100) 025- -- File opened with mode: at -- 026- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 027- int(100) 028- -- File opened with mode: ab -- 029- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 030- int(100) 031- -- File opened with mode: a+ -- 032- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 033- int(100) 034- -- File opened with mode: a+b -- 035- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 036- int(100) 037- -- File opened with mode: a+t -- 038- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 039- int(100) 040- -- File opened with mode: x -- 041- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 042- int(100) 043- -- File opened with mode: xb -- 044- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 045- int(100) 046- -- File opened with mode: xt -- 047- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 048- int(100) 049- -- File opened with mode: x+ -- 050- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 051- int(100) 052- -- File opened with mode: x+b -- 053- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 054- int(100) 055- -- File opened with mode: x+t -- 056- 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 057- int(100) 058- 059- -- File filled with content type: text -- 060- -- File opened with mode: w -- 061- text text text text text text text text text text text text text text text text text text text text 062- int(100) 063- -- File opened with mode: wt -- 064- text text text text text text text text text text text text text text text text text text text text 065- int(100) 066- -- File opened with mode: wb -- 067- text text text text text text text text text text text text text text text text text text text text 068- int(100) 069- -- File opened with mode: w+ -- 070- text text text text text text text text text text text text text text text text text text text text 071- int(100) 072- -- File opened with mode: w+b -- 073- text text text text text text text text text text text text text text text text text text text text 074- int(100) 075- -- File opened with mode: w+t -- 076- text text text text text text text text text text text text text text text text text text text text 077- int(100) 078- -- File opened with mode: a -- 079- text text text text text text text text text text text text text text text text text text text text 080- int(100) 081- -- File opened with mode: at -- 082- text text text text text text text text text text text text text text text text text text text text 083- int(100) 084- -- File opened with mode: ab -- 085- text text text text text text text text text text text text text text text text text text text text 086- int(100) 087- -- File opened with mode: a+ -- 088- text text text text text text text text text text text text text text text text text text text text 089- int(100) 090- -- File opened with mode: a+b -- 091- text text text text text text text text text text text text text text text text text text text text 092- int(100) 093- -- File opened with mode: a+t -- 094- text text text text text text text text text text text text text text text text text text text text 095- int(100) 096- -- File opened with mode: x -- 097- text text text text text text text text text text text text text text text text text text text text 098- int(100) 099- -- File opened with mode: xb -- 100- text text text text text text text text text text text text text text text text text text text text 101- int(100) 102- -- File opened with mode: xt -- 103- text text text text text text text text text text text text text text text text text text text text 104- int(100) 105- -- File opened with mode: x+ -- 106- text text text text text text text text text text text text text text text text text text text text 107- int(100) 108- -- File opened with mode: x+b -- 109- text text text text text text text text text text text text text text text text text text text text 110- int(100) 111- -- File opened with mode: x+t -- 112- text text text text text text text text text text text text text text text text text text text text 113- int(100) 114- 115- -- File filled with content type: empty -- 116- -- File opened with mode: w -- 117- 118- int(0) 119- -- File opened with mode: wt -- 120- 121- int(0) 122- -- File opened with mode: wb -- 123- 124- int(0) 125- -- File opened with mode: w+ -- 126- 127- int(0) 128- -- File opened with mode: w+b -- 129- 130- int(0) 131- -- File opened with mode: w+t -- 132- 133- int(0) 134- -- File opened with mode: a -- 135- 136- int(0) 137- -- File opened with mode: at -- 138- 139- int(0) 140- -- File opened with mode: ab -- 141- 142- int(0) 143- -- File opened with mode: a+ -- 144- 145- int(0) 146- -- File opened with mode: a+b -- 147- 148- int(0) 149- -- File opened with mode: a+t -- 150- 151- int(0) 152- -- File opened with mode: x -- 153- 154- int(0) 155- -- File opened with mode: xb -- 156- 157- int(0) 158- -- File opened with mode: xt -- 159- 160- int(0) 161- -- File opened with mode: x+ -- 162- 163- int(0) 164- -- File opened with mode: x+b -- 165- 166- int(0) 167- -- File opened with mode: x+t -- 168- 169- int(0) 170- 171- -- File filled with content type: alphanumeric -- 172- -- File opened with mode: w -- 173- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 174- int(100) 175- -- File opened with mode: wt -- 176- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 177- int(100) 178- -- File opened with mode: wb -- 179- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 180- int(100) 181- -- File opened with mode: w+ -- 182- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 183- int(100) 184- -- File opened with mode: w+b -- 185- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 186- int(100) 187- -- File opened with mode: w+t -- 188- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 189- int(100) 190- -- File opened with mode: a -- 191- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 192- int(100) 193- -- File opened with mode: at -- 194- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 195- int(100) 196- -- File opened with mode: ab -- 197- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 198- int(100) 199- -- File opened with mode: a+ -- 200- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 201- int(100) 202- -- File opened with mode: a+b -- 203- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 204- int(100) 205- -- File opened with mode: a+t -- 206- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 207- int(100) 208- -- File opened with mode: x -- 209- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 210- int(100) 211- -- File opened with mode: xb -- 212- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 213- int(100) 214- -- File opened with mode: xt -- 215- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 216- int(100) 217- -- File opened with mode: x+ -- 218- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 219- int(100) 220- -- File opened with mode: x+b -- 221- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 222- int(100) 223- -- File opened with mode: x+t -- 224- ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 225- int(100) 226- 227- -- File filled with content type: text_with_new_line -- 228- -- File opened with mode: w -- 229- line 230- line of text 231- line 232- line of text 233- line 234- line of text 235- line 236- line of text 237- line 238- line of text 239- line 240- line 241- int(100) 242- -- File opened with mode: wt -- 243- line 244- line of text 245- line 246- line of text 247- line 248- line of text 249- line 250- line of text 251- line 252- line of text 253- line 254- line 255- int(100) 256- -- File opened with mode: wb -- 257- line 258- line of text 259- line 260- line of text 261- line 262- line of text 263- line 264- line of text 265- line 266- line of text 267- line 268- line 269- int(100) 270- -- File opened with mode: w+ -- 271- line 272- line of text 273- line 274- line of text 275- line 276- line of text 277- line 278- line of text 279- line 280- line of text 281- line 282- line 283- int(100) 284- -- File opened with mode: w+b -- 285- line 286- line of text 287- line 288- line of text 289- line 290- line of text 291- line 292- line of text 293- line 294- line of text 295- line 296- line 297- int(100) 298- -- File opened with mode: w+t -- 299- line 300- line of text 301- line 302- line of text 303- line 304- line of text 305- line 306- line of text 307- line 308- line of text 309- line 310- line 311- int(100) 312- -- File opened with mode: a -- 313- line 314- line of text 315- line 316- line of text 317- line 318- line of text 319- line 320- line of text 321- line 322- line of text 323- line 324- line 325- int(100) 326- -- File opened with mode: at -- 327- line 328- line of text 329- line 330- line of text 331- line 332- line of text 333- line 334- line of text 335- line 336- line of text 337- line 338- line 339- int(100) 340- -- File opened with mode: ab -- 341- line 342- line of text 343- line 344- line of text 345- line 346- line of text 347- line 348- line of text 349- line 350- line of text 351- line 352- line 353- int(100) 354- -- File opened with mode: a+ -- 355- line 356- line of text 357- line 358- line of text 359- line 360- line of text 361- line 362- line of text 363- line 364- line of text 365- line 366- line 367- int(100) 368- -- File opened with mode: a+b -- 369- line 370- line of text 371- line 372- line of text 373- line 374- line of text 375- line 376- line of text 377- line 378- line of text 379- line 380- line 381- int(100) 382- -- File opened with mode: a+t -- 383- line 384- line of text 385- line 386- line of text 387- line 388- line of text 389- line 390- line of text 391- line 392- line of text 393- line 394- line 395- int(100) 396- -- File opened with mode: x -- 397- line 398- line of text 399- line 400- line of text 401- line 402- line of text 403- line 404- line of text 405- line 406- line of text 407- line 408- line 409- int(100) 410- -- File opened with mode: xb -- 411- line 412- line of text 413- line 414- line of text 415- line 416- line of text 417- line 418- line of text 419- line 420- line of text 421- line 422- line 423- int(100) 424- -- File opened with mode: xt -- 425- line 426- line of text 427- line 428- line of text 429- line 430- line of text 431- line 432- line of text 433- line 434- line of text 435- line 436- line 437- int(100) 438- -- File opened with mode: x+ -- 439- line 440- line of text 441- line 442- line of text 443- line 444- line of text 445- line 446- line of text 447- line 448- line of text 449- line 450- line 451- int(100) 452- -- File opened with mode: x+b -- 453- line 454- line of text 455- line 456- line of text 457- line 458- line of text 459- line 460- line of text 461- line 462- line of text 463- line 464- line 465- int(100) 466- -- File opened with mode: x+t -- 467- line 468- line of text 469- line 470- line of text 471- line 472- line of text 473- line 474- line of text 475- line 476- line of text 477- line 478- line 479- int(100) 480- Done