3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = <<<TEXT (n["createcCommentVNode"])("",!0)],64)})),256))])):Object (n["createCommentVNode"])("", !0)])]), Object(n["createELementVNode"])("div" ,me,[Object(n["createELementVNode"])("div",be,[X.config.EntryFormWithoutTime ?(Object(n["openBlock"])(),Object(n["createBlock"])(te,{key:0,onUpdated:e .onUpdated,"is-new":"",modelValue:R.newEntry,"onUpdate:modelValue":t[0]|| (t[0]=function(e){return R.newEntry=e})},null,8,["onUpdated","modelValue"] )):(Object(n["openBlock"])(),Object(n["createBlock"])(xe,{key:1,onUpdated:e .onUpdated,"is-new":"",modelValue:R.newEntry,"onUpdate:modelValue":t[1]|| (t[1]=function(e){return R.newEntry=e})},null,8,["onUpdated","modelValue"] ))])])],64)}a("498a"),a("acl1f"),a("5319"),a("a434");var ge={client:"Rail Partners",showWelcomeMessage:!1,logo:"https: //1wee.webx.host/images /RP_Logo_Black.svg",LogoWidth:124,LogoMargin:"10px 0 10px 0" ,navBackgroundColour:"rgb(36, 142, 120)",navShowWave:!1,colourScheme:"blue" ,bodyBackgroundImage:!1,bgColour:"#FFFFFF",primaryColour:"#AD9DF4",url :"https://1wee.webx.host",enableAcademy:!0,enableScheduler:!0 ,homepageDispLayVehicLeChart:!1,calendarDispLayNameOn1ly:!0 ,caLendarMonthyDefaultSort:"name",EntryFormWithoutTime:!0 ,caLendarAnnualLeaveCatId:25,calendarRemainingTimeLeftShownInHours:!0 ,notificationEmailId:26,userProfile:{profileImgId:3,width:400,height:400 ,quality:100}},fe=a("a18a"),ke=a.n(fe),ve={class:"uk-text-center uk-width -large uk-align-center"},ye=Object(n["createELementVNode"])("img",{class:"uk TEXT; $settings['new_primary_colour_ccs'] = '#777777'; // test color $appPats = [null]; // just to enter the loop for demo foreach($appPats as $path){ $styleSettings = [ 'primary_colour' => [ 'reg' => "~\bprimaryColour:\s?['\"][a-z0-9 ,._+;()'@!?&#:\/-]+['\"]~i", 'string' => 'primaryColour:"' . $settings['new_primary_colour_ccs'] . '"', 'value' => $settings['new_primary_colour_ccs'] ] ]; //$content = file_get_contents($path); foreach ($styleSettings as $style) { $content = preg_replace($style['reg'], $style['string'], $content, -1, $count); if ($count) { echo "Replaced with {$style['value']} $count times\n\n\n"; } } echo $content; //file_put_contents($path, $content); }

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.5.10.0150.00619.89
8.5.00.0110.01120.03
8.4.160.0130.00823.97
8.4.150.0030.00014.05
8.4.140.0100.01217.78
8.4.130.0110.00918.03
8.4.120.0120.01020.54
8.4.110.0050.00718.65
8.4.100.0130.01118.25
8.4.90.0120.00920.73
8.4.80.0050.00318.94
8.4.70.0120.00918.71
8.4.60.0100.00919.04
8.4.50.0090.00719.02
8.4.40.0030.01619.46
8.4.30.0100.01018.89
8.4.20.0130.00720.02
8.4.10.0030.00623.98
8.3.280.0120.00918.74
8.3.270.0140.00816.68
8.3.260.0120.00816.92
8.3.250.0110.00819.11
8.3.240.0150.00318.83
8.3.230.0100.00916.84
8.3.220.0100.00918.90
8.3.210.0070.00217.00
8.3.200.0050.00416.81
8.3.190.0070.01117.01
8.3.180.0110.00716.75
8.3.170.0090.00921.03
8.3.160.0040.01417.54
8.3.150.0190.00017.31
8.3.140.0070.01116.90
8.3.130.0060.00317.01
8.3.120.0000.00920.95
8.3.110.0070.01018.72
8.3.100.0080.00818.71
8.3.90.0080.00026.77
8.3.80.0060.00318.68
8.3.70.0070.01416.63
8.3.60.0090.00617.00
8.3.50.0120.00617.07
8.3.40.0070.00720.26
8.3.30.0110.00419.04
8.3.20.0080.00024.18
8.3.10.0000.00724.66
8.3.00.0050.00326.16
8.2.290.0090.00917.09
8.2.280.0110.00918.45
8.2.270.0090.00917.40
8.2.260.0030.00518.54
8.2.250.0120.00617.00
8.2.240.0090.00917.21
8.2.230.0100.00720.94
8.2.220.0090.00624.06
8.2.210.0070.00726.77
8.2.200.0060.00316.88
8.2.190.0070.01418.79
8.2.180.0140.00717.00
8.2.170.0110.00719.07
8.2.160.0150.00322.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0030.00626.16
8.2.120.0040.00426.16
8.2.110.0040.00420.38
8.2.100.0030.00918.03
8.2.90.0040.00418.00
8.2.80.0000.00818.96
8.2.70.0060.00317.75
8.2.60.0110.00017.75
8.2.50.0000.00818.05
8.2.40.0040.00818.15
8.2.30.0040.00418.18
8.2.20.0020.00517.99
8.2.10.0150.00017.86
8.2.00.0120.00217.86
8.1.330.0130.00716.54
8.1.320.0120.00717.90
8.1.310.0050.00316.79
8.1.300.0030.00616.99
8.1.290.0090.00030.84
8.1.280.0120.00325.92
8.1.270.0040.00424.66
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0000.01020.79
8.1.230.0060.00622.09
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.50
8.1.190.0030.00517.47
8.1.180.0090.00018.10
8.1.170.0050.00318.79
8.1.160.0000.00719.05
8.1.150.0130.00417.60
8.1.140.0130.00317.51
8.1.130.0080.00817.55
8.1.120.0090.01017.65
8.1.110.0160.00017.69
8.1.100.0070.00717.57
8.1.90.0100.00317.65
8.1.80.0050.00717.73
8.1.70.0110.00417.53
8.1.60.0020.00617.72
8.1.50.0160.00517.79
8.1.40.0080.00317.82
8.1.30.0150.00017.84
8.1.20.0140.00317.75
8.1.10.0180.00317.68
8.1.00.0070.01017.61
8.0.300.0040.00418.77
8.0.290.0000.00817.00
8.0.280.0060.00318.39
8.0.270.0110.00617.00
8.0.260.0130.00316.96
8.0.250.0180.00017.05
8.0.240.0080.00817.09
8.0.230.0160.00017.15
8.0.220.0080.00817.05
8.0.210.0140.00416.96
8.0.200.0080.00817.10
8.0.190.0080.00817.00
8.0.180.0000.01316.97
8.0.170.0040.00817.13
8.0.160.0000.00817.11
8.0.150.0040.00417.05
8.0.140.0000.01016.96
8.0.130.0070.00217.12
8.0.120.0130.00017.00
8.0.110.0040.00817.08
8.0.100.0090.00517.10
8.0.90.0050.01117.03
8.0.80.0150.00016.98
8.0.70.0080.00817.15
8.0.60.0000.00817.08
8.0.50.0090.00417.05
8.0.30.0120.00417.12
8.0.20.0080.00917.17
8.0.10.0140.00217.14

preferences:
38.24 ms | 403 KiB | 5 Q