3v4l.org

run code in 300+ PHP versions simultaneously
<? $css = <<<EOF #outlook a{padding:0}body{width:100%!important;min-width:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}.ExternalClass{width:100%}.ExternalClass,.ExternalClass div,.ExternalClass font,.ExternalClass p,.ExternalClass span,.ExternalClass td{line-height:100%}#backgroundTable{margin:0;padding:0;width:100%!important;line-height:100%!important}img{outline:0;text-decoration:none;-ms-interpolation-mode:bicubic;width:auto;max-width:100%;float:left;clear:both;display:block}center{width:100%;min-width:580px}a img{border:none}table{border-spacing:0;border-collapse:collapse}td{word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;border-collapse:collapse!important}table,td,tr{padding:0;vertical-align:top;text-align:left}hr{color:#d9d9d9;background-color:#d9d9d9;height:1px;border:none}table.body{height:100%;width:100%}table.container{width:580px;margin:0 auto;text-align:inherit}table.row{padding:0;width:100%;position:relative}table.container table.row{display:block}td.wrapper{padding:10px 20px 0 0;position:relative}table.column,table.columns{margin:0 auto}table.column td,table.columns td{padding:0 0 10px}table.column td.sub-column,table.column td.sub-columns,table.columns td.sub-column,table.columns td.sub-columns{padding-right:10px}td.sub-column,td.sub-columns{min-width:0}table.container td.last,table.row td.last{padding-right:0}table.one{width:30px}table.two{width:80px}table.three{width:130px}table.four{width:180px}table.five{width:230px}table.six{width:280px}table.seven{width:330px}table.eight{width:380px}table.nine{width:430px}table.ten{width:480px}table.eleven{width:530px}table.twelve{width:580px}table.one center{min-width:30px}table.two center{min-width:80px}table.three center{min-width:130px}table.four center{min-width:180px}table.five center{min-width:230px}table.six center{min-width:280px}table.seven center{min-width:330px}table.eight center{min-width:380px}table.nine center{min-width:430px}table.ten center{min-width:480px}table.eleven center{min-width:530px}table.twelve center{min-width:580px}table.one .panel center{min-width:10px}table.two .panel center{min-width:60px}table.three .panel center{min-width:110px}table.four .panel center{min-width:160px}table.five .panel center{min-width:210px}table.six .panel center{min-width:260px}table.seven .panel center{min-width:310px}table.eight .panel center{min-width:360px}table.nine .panel center{min-width:410px}table.ten .panel center{min-width:460px}table.eleven .panel center{min-width:510px}table.twelve .panel center{min-width:560px}.body .column td.one,.body .columns td.one{width:8.333333%}.body .column td.two,.body .columns td.two{width:16.666666%}.body .column td.three,.body .columns td.three{width:25%}.body .column td.four,.body .columns td.four{width:33.333333%}.body .column td.five,.body .columns td.five{width:41.666666%}.body .column td.six,.body .columns td.six{width:50%}.body .column td.seven,.body .columns td.seven{width:58.333333%}.body .column td.eight,.body .columns td.eight{width:66.666666%}.body .column td.nine,.body .columns td.nine{width:75%}.body .column td.ten,.body .columns td.ten{width:83.333333%}.body .column td.eleven,.body .columns td.eleven{width:91.666666%}.body .column td.twelve,.body .columns td.twelve{width:100%}td.offset-by-one{padding-left:50px}td.offset-by-two{padding-left:100px}td.offset-by-three{padding-left:150px}td.offset-by-four{padding-left:200px}td.offset-by-five{padding-left:250px}td.offset-by-six{padding-left:300px}td.offset-by-seven{padding-left:350px}td.offset-by-eight{padding-left:400px}td.offset-by-nine{padding-left:450px}td.offset-by-ten{padding-left:500px}td.offset-by-eleven{padding-left:550px}td.expander{visibility:hidden;width:0;padding:0!important}table.column .text-pad,table.columns .text-pad{padding-left:10px;padding-right:10px}table.column .left-text-pad,table.column .text-pad-left,table.columns .left-text-pad,table.columns .text-pad-left{padding-left:10px}table.column .right-text-pad,table.column .text-pad-right,table.columns .right-text-pad,table.columns .text-pad-right{padding-right:10px}.block-grid{width:100%;max-width:580px}.block-grid td{display:inline-block;padding:10px}.two-up td{width:270px}.three-up td{width:173px}.four-up td{width:125px}.five-up td{width:96px}.six-up td{width:76px}.seven-up td{width:62px}.eight-up td{width:52px}h1.center,h2.center,h3.center,h4.center,h5.center,h6.center,table.center,td.center{text-align:center}span.center{display:block;width:100%;text-align:center}img.center{margin:0 auto;float:none}.hide-for-desktop,.show-for-small{display:none}body,h1,h2,h3,h4,h5,h6,p,table.body,td{color:#222;font-family:Helvetica,Arial,sans-serif;font-weight:400;padding:0;margin:0;text-align:left}h1,h2,h3,h4,h5,h6{word-break:normal;line-height:1.7}h1{font-size:40px}h2{font-size:36px}h3{font-size:32px}h4{font-size:28px}h5{font-size:24px}h6{font-size:20px}body,p,table.body,td{font-size:14px;line-height:19px}p.lead,p.lede,p.leed{font-size:18px;line-height:21px}p{margin-bottom:10px}small{font-size:10px}a{color:#2ba6cb;text-decoration:none}a:active,a:hover{color:#2795b6!important}a:visited{color:#2ba6cb!important}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:#2ba6cb}h1 a:active,h1 a:visited,h2 a:active,h2 a:visited,h3 a:active,h3 a:visited,h4 a:active,h4 a:visited,h5 a:active,h5 a:visited,h6 a:active,h6 a:visited{color:#2ba6cb!important}.panel{background:#f2f2f2;border:1px solid #d9d9d9;padding:10px!important}.sub-grid table{width:100%}.sub-grid td.sub-columns{padding-bottom:0}table.button,table.large-button,table.medium-button,table.small-button,table.tiny-button{width:100%;overflow:hidden}table.button td,table.large-button td,table.medium-button td,table.small-button td,table.tiny-button td{display:block;width:auto!important;text-align:center;background:#2ba6cb;border:1px solid #2284a1;color:#fff;padding:8px 0}table.tiny-button td{padding:5px 0 4px}table.small-button td{padding:8px 0 7px}table.medium-button td{padding:12px 0 10px}table.large-button td{padding:21px 0 18px}table.button td a,table.large-button td a,table.medium-button td a,table.small-button td a,table.tiny-button td a{font-weight:700;text-decoration:none;font-family:Helvetica,Arial,sans-serif;color:#fff;font-size:16px}table.tiny-button td a{font-size:12px;font-weight:400}table.small-button td a{font-size:16px}table.medium-button td a{font-size:20px}table.large-button td a{font-size:24px}table.button:active td,table.button:hover td,table.button:visited td{background:#2795b6!important}table.button:active td a,table.button:hover td a,table.button:visited td a{color:#fff!important}table.button:hover td,table.large-button:hover td,table.medium-button:hover td,table.small-button:hover td,table.tiny-button:hover td{background:#2795b6!important}table.button td a:visited,table.button:active td a,table.button:hover td a,table.large-button td a:visited,table.large-button:active td a,table.large-button:hover td a,table.medium-button td a:visited,table.medium-button:active td a,table.medium-button:hover td a,table.small-button td a:visited,table.small-button:active td a,table.small-button:hover td a,table.tiny-button td a:visited,table.tiny-button:active td a,table.tiny-button:hover td a{color:#fff!important}table.secondary td{background:#e9e9e9;border-color:#d0d0d0;color:#555}table.secondary td a{color:#555}table.secondary:hover td{background:#d0d0d0!important;color:#555}table.secondary td a:visited,table.secondary:active td a,table.secondary:hover td a{color:#555!important}table.success td{background:#5da423;border-color:#457a1a}table.success:hover td{background:#457a1a!important}table.alert td{background:#c60f13;border-color:#970b0e}table.alert:hover td{background:#970b0e!important}table.radius td{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}table.round td{-webkit-border-radius:500px;-moz-border-radius:500px;border-radius:500px}body.outlook p{display:inline!important}@media only screen and (max-width:600px){table[class=body] img{width:auto!important;height:auto!important}table[class=body] center{min-width:0!important}table[class=body] .container{width:95%!important}table[class=body] .row{width:100%!important;display:block!important}table[class=body] .wrapper{display:block!important;padding-right:0!important}table[class=body] .column,table[class=body] .columns{table-layout:fixed!important;float:none!important;width:100%!important;padding-right:0!important;padding-left:0!important;display:block!important}table[class=body] .wrapper.first .column,table[class=body] .wrapper.first .columns{display:table!important}table[class=body] table.column td,table[class=body] table.columns td{width:100%!important}table[class=body] .column td.one,table[class=body] .columns td.one{width:8.333333%!important}table[class=body] .column td.two,table[class=body] .columns td.two{width:16.666666%!important}table[class=body] .column td.three,table[class=body] .columns td.three{width:25%!important}table[class=body] .column td.four,table[class=body] .columns td.four{width:33.333333%!important}table[class=body] .column td.five,table[class=body] .columns td.five{width:41.666666%!important}table[class=body] .column td.six,table[class=body] .columns td.six{width:50%!important}table[class=body] .column td.seven,table[class=body] .columns td.seven{width:58.333333%!important}table[class=body] .column td.eight,table[class=body] .columns td.eight{width:66.666666%!important}table[class=body] .column td.nine,table[class=body] .columns td.nine{width:75%!important}table[class=body] .column td.ten,table[class=body] .columns td.ten{width:83.333333%!important}table[class=body] .column td.eleven,table[class=body] .columns td.eleven{width:91.666666%!important}table[class=body] .column td.twelve,table[class=body] .columns td.twelve{width:100%!important}table[class=body] td.offset-by-eight,table[class=body] td.offset-by-eleven,table[class=body] td.offset-by-five,table[class=body] td.offset-by-four,table[class=body] td.offset-by-nine,table[class=body] td.offset-by-one,table[class=body] td.offset-by-seven,table[class=body] td.offset-by-six,table[class=body] td.offset-by-ten,table[class=body] td.offset-by-three,table[class=body] td.offset-by-two{padding-left:0!important}table[class=body] table.columns td.expander{width:1px!important}table[class=body] .right-text-pad,table[class=body] .text-pad-right{padding-left:10px!important}table[class=body] .left-text-pad,table[class=body] .text-pad-left{padding-right:10px!important}table[class=body] .hide-for-small,table[class=body] .show-for-desktop{display:none!important}table[class=body] .hide-for-desktop,table[class=body] .show-for-small{display:inherit!important}} EOF; $css1 = preg_replace('/@media[^{]+\{([\s\S]+?})\s*}/', '', $css); var_dump($css1); $css2 = preg_replace('/@media [^{]*{([^{}]|{.*})*}/', '', $css); var_dump($css2);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0110.00718.32
8.3.50.0060.01122.82
8.3.40.0040.01118.85
8.3.30.0080.00618.88
8.3.20.0040.00420.34
8.3.10.0040.00420.53
8.3.00.0040.00420.74
8.2.180.0110.00716.63
8.2.170.0140.00422.96
8.2.160.0070.00720.39
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0050.00319.23
8.2.110.0060.00320.58
8.2.100.0080.00417.59
8.2.90.0020.00519.09
8.2.80.0040.00417.97
8.2.70.0000.00917.60
8.2.60.0080.00017.90
8.2.50.0060.00318.07
8.2.40.0050.00317.97
8.2.30.0080.00021.18
8.2.20.0040.00417.64
8.2.10.0040.00417.96
8.2.00.0000.00817.53
8.1.280.0100.00625.92
8.1.270.0050.00323.92
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0030.00622.43
8.1.230.0080.00420.92
8.1.220.0000.00818.77
8.1.210.0080.00018.77
8.1.200.0030.00617.00
8.1.190.0050.00217.41
8.1.180.0040.00418.10
8.1.170.0040.00418.57
8.1.160.0000.00718.78
8.1.150.0050.00318.68
8.1.140.0040.00417.45
8.1.130.0070.00017.78
8.1.120.0050.00317.38
8.1.110.0040.00417.36
8.1.100.0070.00017.25
8.1.90.0000.00717.21
8.1.80.0000.00817.26
8.1.70.0040.00417.29
8.1.60.0060.00317.33
8.1.50.0040.00417.33
8.1.40.0030.00517.34
8.1.30.0030.00517.42
8.1.20.0000.00817.48
8.1.10.0000.00817.48
8.1.00.0040.00417.41
8.0.300.0060.00319.98
8.0.290.0040.00417.04
8.0.280.0030.00318.33
8.0.270.0000.00817.26
8.0.260.0040.00417.12
8.0.250.0000.00716.82
8.0.240.0000.00716.82
8.0.230.0030.00316.91
8.0.220.0020.00516.80
8.0.210.0040.00416.75
8.0.200.0000.00616.84
8.0.190.0030.00516.89
8.0.180.0040.00416.81
8.0.170.0040.00416.75
8.0.160.0000.00816.84
8.0.150.0060.00316.61
8.0.140.0050.00216.74
8.0.130.0090.00013.59
8.0.120.0000.00816.80
8.0.110.0000.00816.66
8.0.100.0050.00216.66
8.0.90.0040.00416.75
8.0.80.0070.01416.74
8.0.70.0000.00716.73
8.0.60.0030.00416.65
8.0.50.0040.00416.59
8.0.30.0070.01217.07
8.0.20.0060.01217.40
8.0.10.0000.00716.93
8.0.00.0110.00616.61
7.4.330.0000.00515.06
7.4.320.0060.00016.48
7.4.300.0000.00716.42
7.4.290.0030.00316.47
7.4.280.0030.00616.49
7.4.270.0040.00416.42
7.4.260.0030.00316.39
7.4.250.0000.00816.29
7.4.240.0040.00316.45
7.4.230.0030.00316.60
7.4.220.0060.01116.38
7.4.210.0100.00716.40
7.4.200.0030.00316.30
7.4.160.0120.00616.20
7.4.150.0070.01117.40
7.4.140.0170.00217.86
7.4.130.0110.00616.37
7.4.120.0100.00916.44
7.4.110.0130.00316.28
7.4.100.0100.00716.50
7.4.90.0070.01016.34
7.4.80.0030.01419.39
7.4.70.0200.00016.44
7.4.60.0040.01216.53
7.4.50.0050.00516.45
7.4.40.0150.00716.40
7.4.30.0080.00816.36
7.4.00.0030.01214.71
7.3.330.0040.00413.21
7.3.320.0000.00513.26
7.3.310.0030.00316.24
7.3.300.0070.00016.06
7.3.290.0050.00916.16
7.3.280.0090.00816.14
7.3.270.0140.00417.40
7.3.260.0090.00916.08
7.3.250.0130.00316.29
7.3.240.0110.00716.24
7.3.230.0140.00316.39
7.3.210.0060.01416.39
7.3.200.0180.00819.39
7.3.190.0100.00716.39
7.3.180.0090.00616.52
7.3.170.0100.00716.27
7.3.160.0030.01316.43
7.3.10.0160.00916.29
7.3.00.0080.00916.31
7.2.330.0090.00916.61
7.2.320.0050.01116.66
7.2.310.0100.01316.41
7.2.300.0030.01916.29
7.2.290.0110.01116.23
7.2.130.0190.00916.60
7.2.120.0210.00916.78
7.2.110.0090.01316.96
7.2.100.0260.00416.75
7.2.90.0290.00916.62
7.2.80.0210.00916.86
7.2.70.0300.00916.74
7.2.60.0330.00616.69
7.2.50.0150.01316.65
7.2.40.0140.01116.53
7.2.30.0160.00716.66
7.2.20.0190.01516.80
7.2.10.0270.00716.39
7.2.00.0140.01017.63
7.1.250.0230.00915.55
7.1.100.0000.01618.42
7.1.70.0040.00417.18
7.1.60.0090.00919.34
7.1.50.0030.00717.04
7.1.00.0070.07322.32
7.0.200.0080.00816.91
7.0.140.0030.04322.00
7.0.60.0030.04020.04
7.0.50.0100.07717.93
7.0.40.0030.04720.26
7.0.30.0570.07020.16
7.0.20.0270.04320.20
7.0.10.0170.06720.18
7.0.00.0100.08720.14
5.6.280.0070.07321.03
5.6.210.0070.08020.59
5.6.200.0070.07718.23
5.6.190.0070.06320.54
5.6.180.3930.04720.48
5.6.170.0330.05320.46
5.6.160.0130.04020.64
5.6.150.0100.07718.20
5.6.140.0100.06318.23
5.6.130.0130.07318.21
5.6.120.0100.08021.05
5.6.110.0130.07021.02
5.6.100.0030.04020.99
5.6.90.0000.07021.17
5.6.80.0000.04320.54
5.6.70.4330.03720.39
5.5.350.0330.07320.42
5.5.340.0030.08318.04
5.5.330.0070.07320.25
5.5.320.0100.04720.52
5.5.310.0300.07320.33
5.5.300.0030.05317.98
5.5.290.0000.04317.96
5.5.280.0030.04320.89
5.5.270.0070.07020.88
5.5.260.0130.08720.80
5.5.250.0170.07720.83
5.5.240.0270.07320.33
5.4.450.0000.03719.47
5.4.440.0400.04719.43
5.4.430.0200.04719.25
5.4.420.0070.05719.16
5.4.410.0200.04719.16
5.4.400.0030.07019.02
5.4.390.0100.05319.00
5.4.380.0070.05719.07
5.4.370.0130.04719.15
5.4.360.0170.04319.26
5.4.350.0070.04512.01
5.4.340.0100.03212.01
5.4.320.0080.04012.47
5.4.310.0070.05512.47
5.4.300.0070.05312.48
5.4.290.0070.04012.47
5.4.280.0080.03612.37
5.4.270.0060.04112.37
5.4.260.0080.03812.37
5.4.250.0050.04312.37
5.4.240.0090.04712.37
5.4.230.0120.04912.36
5.4.220.0080.04912.36
5.4.210.0050.05312.36
5.4.200.0080.06712.36
5.4.190.0130.05612.36
5.4.180.0130.07512.36
5.4.170.0090.06412.37
5.4.160.0050.04912.37
5.4.150.0110.05812.36
5.4.140.0110.04212.05
5.4.130.0080.04512.03
5.4.120.0100.05411.99
5.4.110.0100.06011.98
5.4.100.0100.04411.99
5.4.90.0120.05911.98
5.4.80.0180.08311.98
5.4.70.0080.07411.98
5.4.60.0070.03711.98
5.4.50.0100.06011.98
5.4.40.0050.04211.97
5.4.30.0090.06111.96
5.4.20.0130.06611.96
5.4.10.0050.03811.96
5.4.00.0080.06211.45
5.3.290.0100.04712.80
5.3.280.0170.06012.71
5.3.270.0060.06612.73
5.3.260.0090.06512.72
5.3.250.0150.07912.71
5.3.240.0080.08512.72
5.3.230.0080.04112.71
5.3.220.0080.04312.68
5.3.210.0100.04112.68
5.3.200.0070.04112.68
5.3.190.0120.07812.68
5.3.180.0080.05212.68
5.3.170.0110.04012.67
5.3.160.0070.03912.67
5.3.150.0110.03812.67
5.3.140.0050.04612.66
5.3.130.0140.07012.66
5.3.120.0210.07712.65
5.3.110.0100.07312.66
5.3.100.0140.04412.12
5.3.90.0050.03912.09
5.3.80.0110.07512.07
5.3.70.0120.07112.08
5.3.60.0140.08412.07
5.3.50.0100.09012.00
5.3.40.0100.04512.00
5.3.30.0100.04011.95
5.3.20.0110.03911.73
5.3.10.0180.07211.70
5.3.00.0080.08111.68
5.2.170.0160.0589.20
5.2.160.0070.0819.20
5.2.150.0180.0909.20
5.2.140.0140.0659.19
5.2.130.0210.0589.15
5.2.120.0110.0619.16
5.2.110.0080.0749.16
5.2.100.0130.0329.16
5.2.90.0280.0769.16
5.2.80.0110.0569.15
5.2.70.0060.0369.15
5.2.60.0050.0369.11
5.2.50.0050.0739.07
5.2.40.0100.0649.05
5.2.30.0150.0569.03
5.2.20.0080.0469.02
5.2.10.0100.0518.94
5.2.00.0100.0378.79
5.1.60.0070.0518.07
5.1.50.0070.0308.08
5.1.40.0060.0308.06
5.1.30.0040.0318.41
5.1.20.0140.0428.43
5.1.10.0090.0638.16
5.1.00.0190.0488.15
5.0.50.0140.0426.63
5.0.40.0070.0426.49
5.0.30.0090.0466.30
5.0.20.0070.0206.28
5.0.10.0080.0236.25
5.0.00.0050.0526.25
4.4.90.0080.0304.78
4.4.80.0090.0204.75
4.4.70.0030.0224.75
4.4.60.0070.0174.76
4.4.50.0050.0194.77
4.4.40.0040.0314.70
4.4.30.0020.0184.76
4.4.20.0060.0164.84
4.4.10.0050.0154.85
4.4.00.0080.0434.76
4.3.110.0060.0194.66
4.3.100.0040.0384.66
4.3.90.0040.0274.64
4.3.80.0040.0274.59
4.3.70.0020.0164.63
4.3.60.0010.0174.63
4.3.50.0030.0174.63
4.3.40.0060.0454.54
4.3.30.0030.0183.30
4.3.20.0050.0313.28
4.3.10.0020.0233.23
4.3.00.0000.01713.94

preferences:
52.05 ms | 401 KiB | 5 Q