3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ 'c_encrypted' => [ 'c_customer' => [ 'customer/company ID' ], 'c_brand' => [ 'brandname' ], 'c_productname' => [ 'product displayname' ], 'c_eventtype' => [ 'click / premium click' ] ] ]; var_dump(json_encode($arr, JSON_UNESCAPED_SLASHES | JSON_OBJECT_AS_ARRAY)); var_dump(' c_encrypted ={ c_customer ={ customer/company ID }; c_brand ={ brandname }; c_productname ={ product displayname }; c_eventtype ={ click / premium click };}');

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.0090.00918.18
8.3.50.0090.00616.23
8.3.40.0110.00418.63
8.3.30.0070.00718.45
8.3.20.0000.00818.82
8.3.10.0070.00021.86
8.3.00.0040.00717.67
8.2.180.0090.01218.13
8.2.170.0070.00722.96
8.2.160.0070.01120.38
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0040.00420.58
8.2.120.0080.00026.35
8.2.110.0000.00922.30
8.2.100.0110.00017.72
8.2.90.0050.00319.05
8.2.80.0040.00417.97
8.2.70.0030.00617.38
8.2.60.0060.00317.80
8.2.50.0050.00318.10
8.2.40.0040.00420.61
8.2.30.0020.00520.91
8.2.20.0070.00018.03
8.2.10.0050.00218.05
8.2.00.0080.00018.02
8.1.280.0130.00725.92
8.1.270.0040.00422.19
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00623.84
8.1.230.0070.00422.14
8.1.220.0060.00317.74
8.1.210.0030.00518.77
8.1.200.0060.00317.11
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0000.00918.34
8.1.160.0050.00318.92
8.1.150.0000.00718.75
8.1.140.0000.01019.49
8.1.130.0000.00818.75
8.1.120.0070.00017.31
8.1.110.0040.00417.38
8.1.100.0020.00517.30
8.1.90.0000.00817.26
8.1.80.0080.00017.41
8.1.70.0030.00317.39
8.1.60.0040.00417.41
8.1.50.0040.00417.50
8.1.40.0030.00517.46
8.1.30.0050.00317.57
8.1.20.0000.00817.61
8.1.10.0030.00517.46
8.1.00.0050.00217.38
8.0.300.0040.00418.77
8.0.290.0050.00216.63
8.0.280.0030.00318.36
8.0.270.0000.00817.18
8.0.260.0070.00016.66
8.0.250.0050.00316.92
8.0.240.0070.00016.79
8.0.230.0080.00016.89
8.0.220.0070.00016.80
8.0.210.0070.00016.85
8.0.200.0030.00516.89
8.0.190.0040.00416.88
8.0.180.0050.00216.86
8.0.170.0030.00316.74
8.0.160.0080.00016.86
8.0.150.0040.00416.64
8.0.140.0050.00316.79
8.0.130.0000.00513.28
8.0.120.0040.00416.68
8.0.110.0000.00716.79
8.0.100.0070.00016.68
8.0.90.0040.00416.90
8.0.80.0150.00916.88
8.0.70.0040.00416.68
8.0.60.0070.00016.82
8.0.50.0000.00716.80
8.0.30.0050.01316.96
8.0.20.0080.01217.40
8.0.10.0080.00017.00
8.0.00.0070.01016.75
7.4.330.0030.00315.55
7.4.320.0000.00616.43
7.4.300.0030.00316.41
7.4.290.0060.00316.50
7.4.280.0090.00016.27
7.4.270.0000.00716.34
7.4.260.0000.00613.20
7.4.250.0030.00316.50
7.4.240.0000.00716.58
7.4.230.0050.00216.42
7.4.220.0070.01716.62
7.4.210.0030.01016.39
7.4.200.0070.00016.18
7.4.160.0110.00516.26
7.4.150.0120.00617.40
7.4.140.0070.01317.86
7.4.130.0150.00916.23
7.4.120.0120.01016.35
7.4.110.0130.00316.37
7.4.100.0130.00916.41
7.4.90.0100.00716.34
7.4.80.0150.00819.39
7.4.70.0040.01216.20
7.4.60.0110.00416.36
7.4.50.0030.01416.21
7.4.40.0080.00816.10
7.4.30.0100.01416.43
7.4.10.0060.00614.67
7.4.00.0100.00514.80
7.3.330.0060.00012.93
7.3.320.0050.00013.06
7.3.310.0070.00016.08
7.3.300.0000.00716.12
7.3.290.0060.00816.13
7.3.280.0080.00916.12
7.3.270.0080.00817.40
7.3.260.0050.01216.25
7.3.250.0080.01216.23
7.3.240.0080.00916.16
7.3.230.0100.01316.08
7.3.210.0160.00016.35
7.3.200.0060.01116.26
7.3.190.0100.00616.18
7.3.180.0100.01316.34
7.3.170.0100.01016.02
7.3.160.0030.01216.05
7.3.130.0030.01314.85
7.3.120.0070.01114.61
7.3.110.0100.00914.73
7.3.100.0120.00314.66
7.3.90.0050.01014.70
7.3.80.0080.00414.77
7.3.70.0060.00614.60
7.3.60.0050.00714.59
7.3.50.0080.00314.56
7.3.40.0080.00514.54
7.3.30.0090.00514.57
7.3.20.0040.01316.57
7.3.10.0060.00816.40
7.3.00.0040.01016.62
7.2.330.0090.01416.12
7.2.320.0120.00616.54
7.2.310.0090.00616.38
7.2.300.0120.00416.39
7.2.290.0100.00816.58
7.2.260.0080.01214.95
7.2.250.0050.01114.72
7.2.240.0050.01114.81
7.2.230.0090.00714.85
7.2.220.0050.00914.99
7.2.210.0050.01114.80
7.2.200.0070.00714.81
7.2.190.0070.00914.78
7.2.180.0070.00714.83
7.2.170.0030.01315.00
7.2.160.0000.01014.95
7.2.150.0040.01116.70
7.2.140.0070.00616.59
7.2.130.0000.01416.67
7.2.120.0000.01016.77
7.2.110.0000.01016.81
7.2.100.0090.00616.82
7.2.90.0120.00016.80
7.2.80.0060.00616.66
7.2.70.0060.00316.80
7.2.60.0060.00816.72
7.2.50.0070.00716.54
7.2.40.0090.00616.91
7.2.30.0030.01016.70
7.2.20.0030.01016.77
7.2.10.0040.01216.74
7.2.00.0030.01317.64
7.1.330.0050.00915.70
7.1.320.0090.00315.63
7.1.310.0050.00915.82
7.1.300.0040.00615.81
7.1.290.0050.01015.68
7.1.280.0050.01015.78
7.1.270.0040.00815.66
7.1.260.0060.00815.75
7.1.250.0040.01115.62
7.1.240.0090.00315.71
7.1.230.0130.00015.33
7.1.220.0100.00315.69
7.1.210.0070.00315.44
7.1.200.0180.00615.47
7.1.190.0030.00615.79
7.1.180.0090.00615.34
7.1.170.0000.00915.85
7.1.160.0090.00615.54
7.1.150.0100.00315.71
7.1.140.0040.00415.68
7.1.130.0040.00715.72
7.1.120.0060.00915.87
7.1.110.0030.00615.95
7.1.100.0040.00517.00
7.1.90.0040.01215.61
7.1.80.0080.00015.75
7.1.70.0070.00616.41
7.1.60.0930.01324.51
7.1.50.0720.01324.16
7.1.40.0800.01024.01
7.1.30.0950.01224.21
7.1.20.0930.00724.22
7.1.10.0750.00615.06
7.1.00.0830.00815.17
7.0.330.0040.00715.34
7.0.320.0090.00615.02
7.0.310.0000.01215.50
7.0.300.0040.01215.41
7.0.290.0030.01015.38
7.0.280.0030.00615.27
7.0.270.0000.01515.39
7.0.260.0120.00015.39
7.0.250.0000.00915.33
7.0.240.0050.00315.22
7.0.230.0070.00415.24
7.0.220.0000.01415.38
7.0.210.0040.00815.30
7.0.200.0860.00615.13
7.0.190.0640.01114.94
7.0.180.0610.00814.82
7.0.170.1050.00714.64
7.0.160.0920.01014.85
7.0.150.0660.00314.93
7.0.140.0640.00814.84
7.0.130.1100.01015.01
7.0.120.0850.01315.11
7.0.110.0870.00714.91
7.0.100.0960.00514.71
7.0.90.0700.01114.86
7.0.80.0770.01014.78
7.0.70.0900.01214.87
7.0.60.0920.01414.71
7.0.50.0960.00915.05
7.0.40.1110.01013.90
7.0.30.1100.00813.96
7.0.20.0890.00914.11
7.0.10.0890.00813.85
7.0.00.1020.01114.07
5.6.400.0040.00714.04
5.6.390.0040.00414.04
5.6.380.0090.00614.08
5.6.370.0070.00714.40
5.6.360.0000.00914.47
5.6.350.0030.00714.25
5.6.340.0030.01014.21
5.6.330.0070.00714.24
5.6.320.0000.00914.43
5.6.310.0040.00814.59
5.6.300.0030.01014.13
5.6.290.0060.00914.32
5.6.280.0060.01014.33
5.6.270.0080.00614.58
5.6.260.0040.01214.23
5.6.250.0030.01014.31
5.6.240.0140.00014.30
5.6.230.0110.00414.46
5.6.220.0040.00414.07
5.6.210.0060.00614.26
5.6.200.0060.00914.33
5.6.190.0060.01014.32
5.6.180.0030.00713.98
5.6.170.0130.00014.31
5.6.160.0130.00013.93
5.6.150.0070.00314.07
5.6.140.0030.00914.36
5.6.130.0120.00314.21
5.6.120.0000.01514.12
5.6.110.0070.00714.20
5.6.100.0030.00614.16
5.6.90.0000.00914.07
5.6.80.0030.00714.13
5.6.70.0070.00313.93
5.6.60.0070.00314.43
5.6.50.0030.00714.53
5.6.40.0040.01214.20
5.6.30.0100.00714.46
5.6.20.0000.01414.33
5.6.10.0060.00914.40
5.6.00.0060.00314.52

preferences:
52.59 ms | 401 KiB | 5 Q