3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '[{"type":"date","label":"Champ Date de ","className":"form-control","name":"date-1545926599900"}]'; $array = json_decode($json,1)[0]; $array= array_map('trim',$array); echo json_encode([$array]); ?>

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.00.0090.01219.86
8.4.150.0030.00014.05
8.4.140.0130.00917.55
8.4.130.0120.00818.59
8.4.120.0120.00422.07
8.4.110.0120.00919.24
8.4.100.0100.00517.79
8.4.90.0130.00820.54
8.4.80.0060.00218.77
8.4.70.0050.00320.50
8.4.60.0130.00920.29
8.4.50.0110.00918.76
8.4.40.0030.00519.68
8.4.30.0120.00918.58
8.4.20.0100.01020.58
8.4.10.0130.00317.75
8.3.280.0100.00918.26
8.3.270.0140.00616.65
8.3.260.0110.00816.35
8.3.250.0110.00917.21
8.3.240.0100.00916.51
8.3.230.0120.00916.74
8.3.220.0070.00818.93
8.3.210.0080.01116.59
8.3.200.0060.00316.37
8.3.190.0120.00816.35
8.3.180.0030.00518.14
8.3.170.0160.00318.74
8.3.160.0110.00718.35
8.3.150.0110.00718.20
8.3.140.0070.01017.09
8.3.130.0070.00718.43
8.3.120.0090.00920.39
8.3.110.0080.00820.94
8.3.100.0180.00018.43
8.3.90.0040.00416.48
8.3.80.0050.00518.43
8.3.70.0070.00716.38
8.3.60.0110.00418.06
8.3.50.0050.01117.10
8.3.40.0100.00618.81
8.3.30.0000.01418.81
8.3.20.0040.00420.87
8.3.10.0000.00723.54
8.3.00.0080.00023.67
8.2.290.0110.00816.73
8.2.280.0070.01118.15
8.2.270.0120.00317.25
8.2.260.0030.01516.50
8.2.250.0040.00422.45
8.2.240.0050.00318.66
8.2.230.0070.00322.58
8.2.220.0080.00024.06
8.2.210.0080.00026.77
8.2.200.0000.00918.29
8.2.190.0060.00920.18
8.2.180.0110.00418.27
8.2.170.0060.01222.96
8.2.160.0110.00421.97
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00019.81
8.2.110.0000.01121.02
8.2.100.0110.00017.78
8.2.90.0040.00418.03
8.2.80.0040.00418.16
8.2.70.0040.00417.93
8.2.60.0050.00318.22
8.2.50.0000.00818.10
8.2.40.0000.00719.30
8.2.30.0070.00019.20
8.2.20.0040.00418.20
8.2.10.0020.00519.39
8.2.00.0040.00419.32
8.1.330.0050.00616.18
8.1.320.0150.00216.18
8.1.310.0070.01118.30
8.1.300.0100.00715.87
8.1.290.0060.00318.88
8.1.280.0070.00725.92
8.1.270.0120.00323.73
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00322.07
8.1.230.0040.00822.77
8.1.220.0080.00017.78
8.1.210.0080.00018.77
8.1.200.0030.00617.25
8.1.190.0060.00317.10
8.1.180.0090.00018.10
8.1.170.0040.00418.48
8.1.160.0000.00718.94
8.1.150.0060.00618.81
8.1.140.0000.00722.01
8.1.130.0030.00620.15
8.1.120.0000.00717.48
8.1.110.0090.00017.46
8.1.100.0000.00717.47
8.1.90.0040.00417.50
8.1.80.0040.00417.34
8.1.70.0030.00517.44
8.1.60.0060.00317.59
8.1.50.0040.00417.45
8.1.40.0070.00017.55
8.1.30.0000.00817.65
8.1.20.0050.00317.66
8.1.10.0000.00717.64
8.1.00.0000.00817.47
8.0.300.0000.00719.71
8.0.290.0060.00316.63
8.0.280.0080.00018.32
8.0.270.0070.00016.86
8.0.260.0040.00418.36
8.0.250.0040.00416.96
8.0.240.0000.00916.96
8.0.230.0000.00716.95
8.0.220.0070.00016.90
8.0.210.0030.00316.84
8.0.200.0030.00316.94
8.0.190.0000.00716.91
8.0.180.0050.00216.84
8.0.170.0040.00416.83
8.0.160.0040.00416.93
8.0.150.0040.00416.79
8.0.140.0040.00416.91
8.0.130.0030.00313.37
8.0.120.0050.00216.82
8.0.110.0050.00216.93
8.0.100.0070.00016.88
8.0.90.0000.00716.76
8.0.80.0080.00716.87
8.0.70.0000.00716.75
8.0.60.0000.00716.72
8.0.50.0000.00816.95
8.0.30.0080.01017.26
8.0.20.0090.00917.06
8.0.10.0040.00417.01
8.0.00.0070.01016.81
7.4.330.0050.00015.55
7.4.320.0070.00016.61
7.4.300.0050.00216.63
7.4.290.0040.00416.50
7.4.280.0080.00016.41
7.4.270.0070.00016.52
7.4.260.0070.00016.50
7.4.250.0000.00816.47
7.4.240.0030.00516.53
7.4.230.0030.00316.57
7.4.220.0000.00816.49
7.4.210.0070.00816.47
7.4.200.0030.00516.32
7.4.160.0050.01216.62
7.4.140.0140.00717.86
7.4.130.0130.00716.46
7.4.120.0060.01216.39
7.4.110.0070.01116.56
7.4.100.0150.00716.64
7.4.90.0120.00416.53
7.4.80.0140.00919.39
7.4.70.0110.00516.68
7.4.60.0100.00616.45
7.4.50.0100.00416.41
7.4.40.0110.00616.69
7.4.10.0070.01014.89
7.4.00.0060.01014.92
7.3.330.0030.00313.14
7.3.320.0050.00013.16
7.3.310.0030.00416.33
7.3.300.0000.00616.28
7.3.290.0070.00016.30
7.3.280.0080.00816.29
7.3.260.0090.00916.46
7.3.240.0080.01016.36
7.3.230.0080.01216.43
7.3.210.0120.00316.26
7.3.200.0090.01216.16
7.3.190.0110.01216.32
7.3.180.0160.00316.32
7.3.170.0090.01216.48
7.3.160.0100.00716.23
7.3.130.0030.01014.51
7.3.120.0020.01214.88
7.3.110.0060.01114.84
7.3.100.0060.00914.81
7.3.90.0070.00814.81
7.3.80.0090.00614.65
7.3.70.0050.00714.61
7.3.60.0040.01014.91
7.3.50.0080.00614.71
7.3.40.0090.00514.70
7.3.30.0060.00614.79
7.3.20.0070.00516.63
7.3.10.0060.00916.52
7.3.00.0090.00816.22
7.2.330.0140.00516.54
7.2.320.0070.01316.84
7.2.310.0030.01416.71
7.2.300.0060.00916.27
7.2.290.0040.01916.69
7.2.260.0100.01015.23
7.2.250.0060.01215.08
7.2.240.0060.01014.97
7.2.230.0050.01315.11
7.2.220.0030.01114.85
7.2.210.0060.00615.05
7.2.200.0080.00715.07
7.2.190.0080.00814.87
7.2.180.0060.00814.94
7.2.170.0040.00914.98
7.2.160.0050.01014.99
7.2.150.0030.01116.84
7.2.140.0050.00716.60
7.2.130.0100.00816.53
7.2.120.0150.00716.45
7.2.110.0140.00516.40
7.2.100.0110.00816.36
7.2.90.0110.00716.44
7.2.80.0110.01016.40
7.2.70.0120.00816.35
7.2.60.0290.00516.29
7.2.50.0140.00616.49
7.2.40.0180.00816.45
7.2.30.0110.01016.30
7.2.20.0110.01016.40
7.2.10.0110.01116.50
7.2.00.0130.00716.49
7.1.330.0050.00815.67
7.1.320.0080.00615.72
7.1.310.0050.00915.89
7.1.300.0030.00815.64
7.1.290.0060.00515.68
7.1.280.0070.00615.75
7.1.270.0040.00815.76
7.1.260.0070.00615.84
7.1.250.0140.00415.32
7.1.240.0090.00015.88
7.1.230.0090.00615.93
7.1.220.0030.00715.81
7.1.210.0030.00615.55
7.1.200.0070.00315.77
7.1.190.0040.00415.81
7.1.180.0110.00315.98
7.1.170.0060.00615.83
7.1.160.0130.00015.89
7.1.150.0030.01415.76
7.1.140.0070.01015.61
7.1.130.0060.00615.85
7.1.120.0030.01315.71
7.1.110.0030.01015.91
7.1.100.0100.00315.57
7.1.90.0060.00615.69
7.1.80.0070.00615.88
7.1.70.0060.00915.97
7.1.60.0070.00715.89
7.1.50.0060.00615.67
7.1.40.0060.00315.84
7.1.30.0060.00915.60
7.1.20.0030.00915.70
7.1.10.0040.00815.69
7.1.00.0090.00415.54
7.0.330.0110.01114.27
7.0.320.0060.00315.32
7.0.310.0030.01015.09
7.0.300.0040.00815.18
7.0.290.0040.00415.39
7.0.280.0040.00815.51
7.0.270.0070.00715.12
7.0.260.0100.00315.56
7.0.250.0060.00915.45
7.0.240.0060.00615.15
7.0.230.0030.01315.10
7.0.220.0040.01115.48
7.0.210.0070.00715.45
7.0.200.0000.01415.21
7.0.190.0070.00715.55
7.0.180.0040.00815.15
7.0.170.0100.00315.61
7.0.160.0070.00715.37
7.0.150.0000.01115.54
7.0.140.0040.00715.48
7.0.130.0040.00815.45
7.0.120.0030.00615.06
7.0.110.0030.00615.27
7.0.100.0060.00615.30
7.0.90.0080.00415.54
7.0.80.0030.00915.39
7.0.70.0060.00615.53
7.0.60.0050.00315.45
7.0.50.0040.00815.51
7.0.40.0060.00613.23
7.0.30.0090.00313.48
7.0.20.0040.00813.57
7.0.10.0090.00313.39
7.0.00.0090.00013.51
5.6.400.0000.01314.13
5.6.390.0000.01714.14
5.6.380.0070.00514.19
5.6.370.0070.00714.48
5.6.360.0000.01614.24
5.6.350.0060.01014.43
5.6.340.0030.01014.79
5.6.330.0030.00614.21
5.6.320.0030.01014.49
5.6.310.0110.00014.41
5.6.300.0090.00314.18
5.6.290.0000.01214.11
5.6.280.0060.00914.32
5.6.270.0070.00314.59
5.6.260.0000.01614.12
5.6.250.0000.01414.38
5.6.240.0030.01014.52
5.6.230.0070.00714.34
5.6.220.0120.00014.50
5.6.210.0110.00314.19
5.6.200.0090.00014.32
5.6.190.0070.01014.48
5.6.180.0060.00914.24
5.6.170.0090.00614.53
5.6.160.0060.00614.41
5.6.150.0030.01314.23
5.6.140.0030.00914.37
5.6.130.0040.01214.29
5.6.120.0130.00314.64
5.6.110.0030.00614.10
5.6.100.0110.00014.24
5.6.90.0000.01514.16
5.6.80.0110.00314.11
5.6.70.0070.00714.32
5.6.60.0040.00814.09
5.6.50.0000.00914.21
5.6.40.0040.01114.57
5.6.30.0030.00614.23
5.6.20.0030.01214.23
5.6.10.0070.00714.21
5.6.00.0030.00714.24

preferences:
36.75 ms | 403 KiB | 5 Q