Test: /ext/curl/tests/curl_file_upload.phpt - Version 7.4.21    

There are 4 different diffs reported by users for this test.

Count Diff
1 (25%)
004+ bool(false) 004- string(%d) "foo.txt|text/plain|6" 007+ bool(false) 007- string(%d) "curl_testdata1.txt|text/plain|6" 009+ bool(false) 009- string(%d) "foo.txt|application/octet-stream|6" 012+ bool(false) 013+ bool(false) 014+ bool(false) 012- string(0) "" 013- string(0) "" 014- string(%d) "array(1) { 015- ["file"]=> 016- string(%d) "@%s/curl_testdata1.txt" 017- } 018- "
1 (25%)
001+ string(1939) "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 002+ <html> 003+ <head> 004+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 005+ <title>Connection to server failed</title> 006+ <style type="text/css"> 007+ <!-- 008+ body { 009+ font-family: sans-serif; 010+ padding: 1em; 011+ } 012+ .mainBody { 013+ max-width: 600px; 014+ margin: auto; 015+ } 016+ .header { 017+ border-bottom: 3px solid #e73a27; 018+ line-height: 1.5em; 001- string(%d) "curl_testdata1.txt|application/octet-stream|6" 002- string(%d) "curl_testdata1.txt|text/plain|6" 003- string(%d) "foo.txt|application/octet-stream|6" 004- string(%d) "foo.txt|text/plain|6" 005- string(%d) "text/plain" 006- string(%d) "%s/curl_testdata1.txt" 007- string(%d) "curl_testdata1.txt|text/plain|6" 008- string(%d) "foo.txt" 009- string(%d) "foo.txt|application/octet-stream|6" 010- 011- Warning: curl_setopt(): Disabling safe uploads is no longer supported in %s on line %d 012- string(0) "" 013- string(0) "" 014- string(%d) "array(1) { 015- ["file"]=> 016- string(%d) "@%s/curl_testdata1.txt" 017- } 018- " 019+ padding-bottom: 1em; 020+ } 021+ h1 { 022+ color: #808080; 023+ font-size: 1.5em; 024+ line-height: 1em; 025+ } 026+ span { 027+ color: #000000; 028+ font-size: 1em; 029+ } 030+ .footer { 031+ text-align: right; 032+ padding-top: 3px; 033+ color: #808080; 034+ font-weight: bold; 035+ } 036+ .footer i { 037+ font-style: normal; 038+ } 039+ .nocss { 040+ display: none; 041+ } 042+ --> 043+ </style> 044+ </head> 045+ <body> 046+ <div class="mainBody"> 047+ <div class="header"> 048+ <h1>Connection to server failed</h1> 049+ <span>Connection actively refused by the server</span> 050+ </div> 051+ <div class="footer"><span class='nocss'><br /></span><i>This message was created by Kerio Control Proxy</i></div> 052+ </div> 053+ </body> 054+ </html> 055+ " 056+ string(1939) "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 057+ <html> 058+ <head> 059+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 060+ <title>Connection to server failed</title> 061+ <style type="text/css"> 062+ <!-- 063+ body { 064+ font-family: sans-serif; 065+ padding: 1em; 066+ } 067+ .mainBody { 068+ max-width: 600px; 069+ margin: auto; 070+ } 071+ .header { 072+ border-bottom: 3px solid #e73a27; 073+ line-height: 1.5em; 074+ padding-bottom: 1em; 075+ } 076+ h1 { 077+ color: #808080; 078+ font-size: 1.5em; 079+ line-height: 1em; 080+ } 081+ span { 082+ color: #000000; 083+ font-size: 1em; 084+ } 085+ .footer { 086+ text-align: right; 087+ padding-top: 3px; 088+ color: #808080; 089+ font-weight: bold; 090+ } 091+ .footer i { 092+ font-style: normal; 093+ } 094+ .nocss { 095+ display: none; 096+ } 097+ --> 098+ </style> 099+ </head> 100+ <body> 101+ <div class="mainBody"> 102+ <div class="header"> 103+ <h1>Connection to server failed</h1> 104+ <span>Connection actively refused by the server</span> 105+ </div> 106+ <div class="footer"><span class='nocss'><br /></span><i>This message was created by Kerio Control Proxy</i></div> 107+ </div> 108+ </body> 109+ </html> 110+ " 111+ string(1939) "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 112+ <html> 113+ <head> 114+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 115+ <title>Connection to server failed</title> 116+ <style type="text/css"> 117+ <!-- 118+ body { 119+ font-family: sans-serif; 120+ padding: 1em; 121+ } 122+ .mainBody { 123+ max-width: 600px; 124+ margin: auto; 125+ } 126+ .header { 127+ border-bottom: 3px solid #e73a27; 128+ line-height: 1.5em; 129+ padding-bottom: 1em; 130+ } 131+ h1 { 132+ color: #808080; 133+ font-size: 1.5em; 134+ line-height: 1em; 135+ } 136+ span { 137+ color: #000000; 138+ font-size: 1em; 139+ } 140+ .footer { 141+ text-align: right; 142+ padding-top: 3px; 143+ color: #808080; 144+ font-weight: bold; 145+ } 146+ .footer i { 147+ font-style: normal; 148+ } 149+ .nocss { 150+ display: none; 151+ } 152+ --> 153+ </style> 154+ </head> 155+ <body> 156+ <div class="mainBody"> 157+ <div class="header"> 158+ <h1>Connection to server failed</h1> 159+ <span>Connection actively refused by the server</span> 160+ </div> 161+ <div class="footer"><span class='nocss'><br /></span><i>This message was created by Kerio Control Proxy</i></div> 162+ </div> 163+ </body> 164+ </html> 165+ " 166+ string(1939) "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 167+ <html> 168+ <head> 169+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 170+ <title>Connection to server failed</title> 171+ <style type="text/css"> 172+ <!-- 173+ body { 174+ font-family: sans-serif; 175+ padding: 1em; 176+ } 177+ .mainBody { 178+ max-width: 600px; 179+ margin: auto; 180+ } 181+ .header { 182+ border-bottom: 3px solid #e73a27; 183+ line-height: 1.5em; 184+ padding-bottom: 1em; 185+ } 186+ h1 { 187+ color: #808080; 188+ font-size: 1.5em; 189+ line-height: 1em; 190+ } 191+ span { 192+ color: #000000; 193+ font-size: 1em; 194+ } 195+ .footer { 196+ text-align: right; 197+ padding-top: 3px; 198+ color: #808080; 199+ font-weight: bold; 200+ } 201+ .footer i { 202+ font-style: normal; 203+ } 204+ .nocss { 205+ display: none; 206+ } 207+ --> 208+ </style> 209+ </head> 210+ <body> 211+ <div class="mainBody"> 212+ <div class="header"> 213+ <h1>Connection to server failed</h1> 214+ <span>Connection actively refused by the server</span> 215+ </div> 216+ <div class="footer"><span class='nocss'><br /></span><i>This message was created by Kerio Control Proxy</i></div> 217+ </div> 218+ </body> 219+ </html> 220+ " 221+ string(10) "text/plain" 222+ string(50) "/root/php-7.4.21/ext/curl/tests/curl_testdata1.txt" 223+ string(1939) "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 224+ <html> 225+ <head> 226+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 227+ <title>Connection to server failed</title> 228+ <style type="text/css"> 229+ <!-- 230+ body { 231+ font-family: sans-serif; 232+ padding: 1em; 233+ } 234+ .mainBody { 235+ max-width: 600px; 236+ margin: auto; 237+ } 238+ .header { 239+ border-bottom: 3px solid #e73a27; 240+ line-height: 1.5em; 241+ padding-bottom: 1em; 242+ } 243+ h1 { 244+ color: #808080; 245+ font-size: 1.5em; 246+ line-height: 1em; 247+ } 248+ span { 249+ color: #000000; 250+ font-size: 1em; 251+ } 252+ .footer { 253+ text-align: right; 254+ padding-top: 3px; 255+ color: #808080; 256+ font-weight: bold; 257+ } 258+ .footer i { 259+ font-style: normal; 260+ } 261+ .nocss { 262+ display: none; 263+ } 264+ --> 265+ </style> 266+ </head> 267+ <body> 268+ <div class="mainBody"> 269+ <div class="header"> 270+ <h1>Connection to server failed</h1> 271+ <span>Connection actively refused by the server</span> 272+ </div> 273+ <div class="footer"><span class='nocss'><br /></span><i>This message was created by Kerio Control Proxy</i></div> 274+ </div> 275+ </body> 276+ </html> 277+ " 278+ string(7) "foo.txt" 279+ string(1939) "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 280+ <html> 281+ <head> 282+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 283+ <title>Connection to server failed</title> 284+ <style type="text/css"> 285+ <!-- 286+ body { 287+ font-family: sans-serif; 288+ padding: 1em; 289+ } 290+ .mainBody { 291+ max-width: 600px; 292+ margin: auto; 293+ } 294+ .header { 295+ border-bottom: 3px solid #e73a27; 296+ line-height: 1.5em; 297+ padding-bottom: 1em; 298+ } 299+ h1 { 300+ color: #808080; 301+ font-size: 1.5em; 302+ line-height: 1em; 303+ } 304+ span { 305+ color: #000000; 306+ font-size: 1em; 307+ } 308+ .footer { 309+ text-align: right; 310+ padding-top: 3px; 311+ color: #808080; 312+ font-weight: bold; 313+ } 314+ .footer i { 315+ font-style: normal; 316+ } 317+ .nocss { 318+ display: none; 319+ } 320+ --> 321+ </style> 322+ </head> 323+ <body> 324+ <div class="mainBody"> 325+ <div class="header"> 326+ <h1>Connection to server failed</h1> 327+ <span>Connection actively refused by the server</span> 328+ </div> 329+ <div class="footer"><span class='nocss'><br /></span><i>This message was created by Kerio Control Proxy</i></div> 330+ </div> 331+ </body> 332+ </html> 333+ " 334+ 335+ Warning: curl_setopt(): Disabling safe uploads is no longer supported in %s/curl_file_upload.php on line 40 336+ string(1939) "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 337+ <html> 338+ <head> 339+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 340+ <title>Connection to server failed</title> 341+ <style type="text/css"> 342+ <!-- 343+ body { 344+ font-family: sans-serif; 345+ padding: 1em; 346+ } 347+ .mainBody { 348+ max-width: 600px; 349+ margin: auto; 350+ } 351+ .header { 352+ border-bottom: 3px solid #e73a27; 353+ line-height: 1.5em; 354+ padding-bottom: 1em; 355+ } 356+ h1 { 357+ color: #808080; 358+ font-size: 1.5em; 359+ line-height: 1em; 360+ } 361+ span { 362+ color: #000000; 363+ font-size: 1em; 364+ } 365+ .footer { 366+ text-align: right; 367+ padding-top: 3px; 368+ color: #808080; 369+ font-weight: bold; 370+ } 371+ .footer i { 372+ font-style: normal; 373+ } 374+ .nocss { 375+ display: none; 376+ } 377+ --> 378+ </style> 379+ </head> 380+ <body> 381+ <div class="mainBody"> 382+ <div class="header"> 383+ <h1>Connection to server failed</h1> 384+ <span>Connection actively refused by the server</span> 385+ </div> 386+ <div class="footer"><span class='nocss'><br /></span><i>This message was created by Kerio Control Proxy</i></div> 387+ </div> 388+ </body> 389+ </html> 390+ " 391+ string(1939) "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 392+ <html> 393+ <head> 394+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 395+ <title>Connection to server failed</title> 396+ <style type="text/css"> 397+ <!-- 398+ body { 399+ font-family: sans-serif; 400+ padding: 1em; 401+ } 402+ .mainBody { 403+ max-width: 600px; 404+ margin: auto; 405+ } 406+ .header { 407+ border-bottom: 3px solid #e73a27; 408+ line-height: 1.5em; 409+ padding-bottom: 1em; 410+ } 411+ h1 { 412+ color: #808080; 413+ font-size: 1.5em; 414+ line-height: 1em; 415+ } 416+ span { 417+ color: #000000; 418+ font-size: 1em; 419+ } 420+ .footer { 421+ text-align: right; 422+ padding-top: 3px; 423+ color: #808080; 424+ font-weight: bold; 425+ } 426+ .footer i { 427+ font-style: normal; 428+ } 429+ .nocss { 430+ display: none; 431+ } 432+ --> 433+ </style> 434+ </head> 435+ <body> 436+ <div class="mainBody"> 437+ <div class="header"> 438+ <h1>Connection to server failed</h1> 439+ <span>Connection actively refused by the server</span> 440+ </div> 441+ <div class="footer"><span class='nocss'><br /></span><i>This message was created by Kerio Control Proxy</i></div> 442+ </div> 443+ </body> 444+ </html> 445+ " 446+ string(1939) "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 447+ <html> 448+ <head> 449+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 450+ <title>Connection to server failed</title> 451+ <style type="text/css"> 452+ <!-- 453+ body { 454+ font-family: sans-serif; 455+ padding: 1em; 456+ } 457+ .mainBody { 458+ max-width: 600px; 459+ margin: auto; 460+ } 461+ .header { 462+ border-bottom: 3px solid #e73a27; 463+ line-height: 1.5em; 464+ padding-bottom: 1em; 465+ } 466+ h1 { 467+ color: #808080; 468+ font-size: 1.5em; 469+ line-height: 1em; 470+ } 471+ span { 472+ color: #000000; 473+ font-size: 1em; 474+ } 475+ .footer { 476+ text-align: right; 477+ padding-top: 3px; 478+ color: #808080; 479+ font-weight: bold; 480+ } 481+ .footer i { 482+ font-style: normal; 483+ } 484+ .nocss { 485+ display: none; 486+ } 487+ --> 488+ </style> 489+ </head> 490+ <body> 491+ <div class="mainBody"> 492+ <div class="header"> 493+ <h1>Connection to server failed</h1> 494+ <span>Connection actively refused by the server</span> 495+ </div> 496+ <div class="footer"><span class='nocss'><br /></span><i>This message was created by Kerio Control Proxy</i></div> 497+ </div> 498+ </body> 499+ </html> 500+ "
1 (25%)
001+ bool(false) 002+ bool(false) 003+ bool(false) 004+ bool(false) 001- string(%d) "curl_testdata1.txt|application/octet-stream|6" 002- string(%d) "curl_testdata1.txt|text/plain|6" 003- string(%d) "foo.txt|application/octet-stream|6" 004- string(%d) "foo.txt|text/plain|6" 007+ bool(false) 007- string(%d) "curl_testdata1.txt|text/plain|6" 009+ bool(false) 009- string(%d) "foo.txt|application/octet-stream|6" 012+ bool(false) 013+ bool(false) 014+ bool(false) 012- string(0) "" 013- string(0) "" 014- string(%d) "array(1) { 015- ["file"]=> 016- string(%d) "@%s/curl_testdata1.txt" 017- } 018- "
1 (25%)
001+ Server is not running 001- string(%d) "curl_testdata1.txt|application/octet-stream|6" 002- string(%d) "curl_testdata1.txt|text/plain|6" 003- string(%d) "foo.txt|application/octet-stream|6" 004- string(%d) "foo.txt|text/plain|6" 005- string(%d) "text/plain" 006- string(%d) "%s/curl_testdata1.txt" 007- string(%d) "curl_testdata1.txt|text/plain|6" 008- string(%d) "foo.txt" 009- string(%d) "foo.txt|application/octet-stream|6" 010- 011- Warning: curl_setopt(): Disabling safe uploads is no longer supported in %s on line %d 012- string(0) "" 013- string(0) "" 014- string(%d) "array(1) { 015- ["file"]=> 016- string(%d) "@%s/curl_testdata1.txt" 017- } 018- "