3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = <<<TEXT {swal title:='<span style="font-size: 16px;">INFORMATION</span>',html:='<span style="font-size: 14px;">Mask and sanitary pass are</span><b><span style="font-size: 14px; color: #FF0000;"> mandatory for all adults and kids from 12 to 17 to....</span></b><br /><br /><b>Thanks!</b>',icon:='info',confirmButtonText:='OK',iconColor:='#FF0000'}{/swal} TEXT; echo preg_replace_callback( "~^{swal |\G(?!^)(?:(,?[a-z]+:=')(.*?)(')|}{/swal}(*SKIP))~mi", function($m) { return count($m) === 4 ? $m[1] . htmlentities($m[2]) . $m[3] : $m[0]; }, $text );

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.0110.00717.03
8.5.00.0120.01120.30
8.4.150.0030.00014.05
8.4.140.0110.01217.86
8.4.130.0070.00318.01
8.4.120.0120.00920.61
8.4.110.0070.00222.25
8.4.100.0070.00218.15
8.4.90.0130.00820.67
8.4.80.0060.00220.98
8.4.70.0150.00618.84
8.4.60.0040.00422.42
8.4.50.0030.00520.55
8.4.40.0000.00818.00
8.4.30.0100.01020.64
8.4.20.0130.00318.07
8.4.10.0000.00919.81
8.3.280.0130.00818.51
8.3.270.0120.00916.88
8.3.260.0120.00816.56
8.3.250.0050.00419.01
8.3.240.0110.01016.73
8.3.230.0100.01116.69
8.3.220.0060.00820.86
8.3.210.0120.00616.76
8.3.200.0100.00916.71
8.3.190.0120.00617.24
8.3.180.0090.00918.81
8.3.170.0090.00917.29
8.3.160.0100.00718.57
8.3.150.0090.00617.00
8.3.140.0070.00016.98
8.3.130.0040.00416.88
8.3.120.0120.00619.11
8.3.110.0040.00420.94
8.3.100.0070.00718.44
8.3.90.0050.00326.77
8.3.80.0080.00016.75
8.3.70.0200.00718.20
8.3.60.0130.00616.75
8.3.50.0070.01018.23
8.3.40.0140.00719.05
8.3.30.0150.00018.96
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0040.00426.16
8.2.290.0040.00520.30
8.2.280.0060.00218.52
8.2.270.0000.00816.84
8.2.260.0000.00817.26
8.2.250.0090.00316.95
8.2.240.0080.00819.13
8.2.230.0090.00022.58
8.2.220.0040.00424.06
8.2.210.0140.00026.77
8.2.200.0060.00317.13
8.2.190.0070.01416.75
8.2.180.0160.00625.92
8.2.170.0120.00319.07
8.2.160.0040.01122.96
8.2.150.0080.00025.66
8.2.140.0090.00024.66
8.2.130.0050.00226.16
8.2.120.0070.00026.16
8.2.110.0070.00321.12
8.2.100.0120.00018.16
8.2.90.0040.00419.23
8.2.80.0080.00017.97
8.2.70.0080.00017.88
8.2.60.0040.00817.80
8.2.50.0060.00318.07
8.2.40.0000.01018.47
8.2.30.0030.00618.23
8.2.20.0040.00420.73
8.2.10.0000.00817.84
8.2.00.0000.00819.36
8.1.330.0110.00822.01
8.1.320.0050.00518.28
8.1.310.0000.01416.91
8.1.300.0090.00316.56
8.1.290.0040.00730.84
8.1.280.0100.00725.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00322.70
8.1.230.0030.00719.09
8.1.220.0060.00317.77
8.1.210.0120.00018.77
8.1.200.0030.00617.60
8.1.190.0040.00417.72
8.1.180.0080.00018.10
8.1.170.0040.00419.01
8.1.160.0000.00718.95
8.1.150.0000.00918.74
8.1.140.0000.00717.68
8.1.130.0000.00718.86
8.1.120.0000.00717.69
8.1.110.0050.00317.64
8.1.100.0080.00017.62
8.1.90.0070.00017.64
8.1.80.0030.00617.60
8.1.70.0070.00017.64
8.1.60.0040.00417.79
8.1.50.0030.00517.66
8.1.40.0040.00417.70
8.1.30.0000.00817.82
8.1.20.0040.00417.71
8.1.10.0000.00917.77
8.1.00.0060.00317.55
8.0.300.0000.00718.77
8.0.290.0050.00317.13
8.0.280.0000.00718.51
8.0.270.0030.00317.07
8.0.260.0060.00018.51
8.0.250.0070.00017.14
8.0.240.0030.00317.21
8.0.230.0030.00317.07
8.0.220.0040.00417.04
8.0.210.0000.00717.16
8.0.200.0000.00717.21
8.0.190.0030.00517.11
8.0.180.0050.00217.07
8.0.170.0040.00417.09
8.0.160.0030.00517.11
8.0.150.0040.00417.10
8.0.140.0070.00017.12
8.0.130.0100.00316.93
8.0.120.0050.00817.09
8.0.110.0080.00316.98
8.0.100.0060.00617.05
8.0.90.0080.00417.03
8.0.80.0040.00617.09
8.0.70.0110.00017.06
8.0.60.0190.00017.07
8.0.50.0200.00017.11
8.0.30.0160.00316.96
8.0.20.0170.00017.13
8.0.10.0140.00517.22
8.0.00.0080.00417.13
7.4.330.0050.00015.55
7.4.320.0060.00316.85
7.4.300.0060.00016.84
7.4.290.0030.00616.68
7.4.280.0040.00416.81
7.4.270.0040.00416.83
7.4.260.0210.00016.76
7.4.250.0110.01116.85
7.4.240.0210.00016.82
7.4.230.0150.00616.65
7.4.220.0110.00616.86
7.4.210.0150.00416.84
7.4.200.0090.00916.63
7.4.190.0120.00616.79
7.4.180.0170.00016.79
7.4.160.0140.00416.81
7.4.150.0120.00616.86
7.4.140.0180.00016.62
7.4.130.0180.00016.88
7.4.120.0120.00716.76
7.4.110.0200.00016.62
7.4.100.0100.00716.96
7.4.90.0070.01016.74
7.4.80.0120.00616.84
7.4.70.0140.00416.78
7.4.60.0140.00416.58
7.4.50.0150.00616.57
7.4.40.0140.00316.79
7.4.30.0110.00716.77
7.4.20.0130.00716.55
7.4.10.0160.00416.60
7.4.00.0100.00916.75
7.3.330.0140.00516.64
7.3.320.0170.00216.55
7.3.310.0140.00516.48
7.3.300.0100.00316.45
7.3.290.0130.00216.52
7.3.280.0160.00316.42
7.3.270.0180.00316.38
7.3.260.0140.00616.68
7.3.250.0100.01016.51
7.3.240.0140.00516.42
7.3.230.0090.00916.34
7.3.220.0150.00316.57
7.3.210.0170.00316.35
7.3.200.0190.00016.33
7.3.190.0200.00016.40
7.3.180.0190.00016.55
7.3.170.0150.00316.50
7.3.160.0180.00016.54
7.3.150.0120.00616.46
7.3.140.0170.00316.58
7.3.130.0150.00416.47
7.3.120.0050.00316.32
7.3.110.0100.00016.52
7.3.100.0080.00516.33
7.3.90.0150.00016.83
7.3.80.0160.00416.47
7.3.70.0110.00316.56
7.3.60.0060.00616.50
7.3.50.0090.00616.70
7.3.40.0150.00316.35
7.3.30.0090.00316.65
7.3.20.0090.00618.41
7.3.10.0090.00318.40
7.3.00.0090.00518.31

preferences:
35.37 ms | 403 KiB | 5 Q