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_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.0110.01118.08
8.3.50.0120.00316.32
8.3.40.0100.00318.67
8.3.30.0110.00418.73
8.3.20.0000.00818.95
8.3.10.0000.00821.83
8.3.00.0000.00917.97
8.2.180.0120.00917.93
8.2.170.0120.00322.96
8.2.160.0100.00720.44
8.2.150.0080.00024.18
8.2.140.0110.00424.66
8.2.130.0070.00020.39
8.2.120.0040.00426.35
8.2.110.0100.00020.89
8.2.100.0050.00517.79
8.2.90.0090.00018.09
8.2.80.0050.00317.97
8.2.70.0030.00617.50
8.2.60.0030.00517.93
8.2.50.0040.00418.10
8.2.40.0040.00420.32
8.2.30.0000.00821.07
8.2.20.0040.00417.90
8.2.10.0040.00417.99
8.2.00.0030.00618.03
8.1.280.0140.00725.92
8.1.270.0040.00422.06
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0060.00323.92
8.1.230.0080.00420.98
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0080.00017.35
8.1.190.0040.00417.11
8.1.180.0030.00618.10
8.1.170.0000.01118.58
8.1.160.0070.00018.99
8.1.150.0040.00418.73
8.1.140.0000.00717.29
8.1.130.0000.00718.81
8.1.120.0070.00017.31
8.1.110.0040.00417.28
8.1.100.0040.00417.29
8.1.90.0040.00417.38
8.1.80.0000.00717.38
8.1.70.0070.00017.43
8.1.60.0040.00417.50
8.1.50.0040.00417.49
8.1.40.0000.00917.36
8.1.30.0080.00017.62
8.1.20.0040.00417.60
8.1.10.0000.00717.34
8.1.00.0050.00317.36
8.0.300.0050.00320.09
8.0.290.0040.00416.63
8.0.280.0000.00818.27
8.0.270.0040.00417.13
8.0.260.0000.00716.74
8.0.250.0000.00716.88
8.0.240.0030.00516.74
8.0.230.0070.00016.82
8.0.220.0000.00716.73
8.0.210.0000.00716.81
8.0.200.0000.00616.87
8.0.190.0070.00016.87
8.0.180.0030.00616.82
8.0.170.0030.00516.73
8.0.160.0000.00716.79
8.0.150.0050.00216.73
8.0.140.0000.00716.71
8.0.130.0000.00513.23
8.0.120.0030.00316.66
8.0.110.0030.00516.79
8.0.100.0000.00716.76
8.0.90.0000.00716.72
8.0.80.0160.00616.76
8.0.70.0070.00016.83
8.0.60.0030.00516.88
8.0.50.0000.00716.64
8.0.30.0080.01016.87
8.0.20.0100.00817.40
8.0.10.0040.00416.82
8.0.00.0140.00316.55
7.4.330.0000.00515.55
7.4.320.0030.00316.33
7.4.300.0000.00616.53
7.4.290.0030.00616.52
7.4.280.0040.00416.41
7.4.270.0030.00316.53
7.4.260.0000.00513.20
7.4.250.0040.00416.41
7.4.240.0000.00716.47
7.4.230.0000.00716.27
7.4.220.0070.01116.58
7.4.210.0060.00916.49
7.4.200.0070.00016.62
7.4.160.0070.00916.49
7.4.150.0090.00917.40
7.4.140.0100.01017.86
7.4.130.0130.00616.38
7.4.120.0140.00816.42
7.4.110.0070.01016.56
7.4.100.0120.00916.39
7.4.90.0040.01216.35
7.4.80.0040.01219.39
7.4.70.0030.01216.39
7.4.60.0090.00916.29
7.4.50.0100.00616.18
7.4.40.0050.01016.18
7.4.30.0060.01016.58
7.4.00.0090.00714.80
7.3.330.0000.00713.06
7.3.320.0050.00012.98
7.3.310.0000.00716.22
7.3.300.0000.00716.12
7.3.290.0090.00416.12
7.3.280.0100.00716.13
7.3.270.0090.01517.40
7.3.260.0150.01216.19
7.3.250.0140.00416.15
7.3.240.0120.00516.35
7.3.230.0160.00316.44
7.3.210.0100.00616.14
7.3.200.0130.00916.19
7.3.190.0120.00316.43
7.3.180.0110.01116.40
7.3.170.0220.00016.20
7.3.160.0060.00916.44
7.3.120.0070.01014.60
7.3.110.0080.00714.68
7.3.100.0070.00814.62
7.3.90.0050.00614.75
7.3.80.0030.01214.67
7.3.70.0070.00814.54
7.3.60.0050.00914.59
7.3.50.0060.00814.57
7.3.40.0100.00414.59
7.3.30.0060.00714.60
7.3.20.0050.00816.63
7.3.10.0060.00616.29
7.3.00.0050.00716.49
7.2.330.0120.00816.50
7.2.320.0150.00916.59
7.2.310.0040.01316.35
7.2.300.0000.01616.25
7.2.290.0100.00716.49
7.2.250.0030.01514.71
7.2.240.0060.01314.75
7.2.230.0070.00914.81
7.2.220.0060.00714.83
7.2.210.0060.00814.77
7.2.200.0080.00514.86
7.2.190.0070.00714.64
7.2.180.0070.00614.81
7.2.170.0050.00814.83
7.2.160.0040.01114.74
7.2.150.0020.01516.67
7.2.140.0080.00616.80
7.2.130.0060.00616.67
7.2.120.0070.00516.55
7.2.110.0040.00816.55
7.2.100.0070.00516.63
7.2.90.0060.00816.72
7.2.80.0070.00716.65
7.2.70.0100.00516.69
7.2.60.0090.00816.54
7.2.50.0070.00616.55
7.2.40.0070.00916.53
7.2.30.0070.00616.67
7.2.20.0070.00616.61
7.2.10.0040.00916.63
7.2.00.0090.00617.05
7.1.330.0030.01115.64
7.1.320.0030.00915.70
7.1.310.0060.00815.75
7.1.300.0050.00715.40
7.1.290.0060.00615.75
7.1.280.0080.00315.65
7.1.270.0040.00915.69
7.1.260.0070.00615.71
7.1.250.0070.00715.48
7.1.200.0040.01115.70
7.1.100.0090.00317.92
7.1.70.0080.00017.05
7.1.60.2300.02032.88
7.1.50.2200.01332.73
7.1.40.1970.01032.66
7.1.30.3800.01732.71
7.1.20.2430.00332.73
7.1.10.2770.01314.85
7.1.00.3170.01314.74
7.0.200.2100.01014.91
7.0.190.2270.00314.73
7.0.180.1730.01014.37
7.0.170.4630.01714.33
7.0.160.3300.01014.48
7.0.150.2930.00314.46
7.0.140.3000.00714.28
7.0.130.3100.01014.65
7.0.120.2870.00314.63
7.0.110.2530.00314.46
7.0.100.2870.01014.41
7.0.90.3470.01714.29
7.0.80.3670.01014.63
7.0.70.3370.01314.53
7.0.60.3070.01714.04
7.0.50.3070.01014.53
7.0.40.3100.00714.61
7.0.30.3230.01314.47
7.0.20.3300.00314.44
7.0.10.3500.01314.28
7.0.00.3300.02314.59

preferences:
49.42 ms | 401 KiB | 5 Q