3v4l.org

run code in 300+ PHP versions simultaneously
<?php $emailrepeat = 'test'; $email_clean = 'test'; if(strcasecmp($emailrepeat, $email_clean) != 0){ //WILL RETURN THAT BOTH STRINGS MATCH array_push($errorMessages,'Your emails did not match'); } if(strcasecmp($email_clean, $emailrepeat) != 0){ //WILL RETURN THAT BOTH STRINGS DONT MATCH array_push($errorMessages,'Your emails did not match'); }

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.40.0040.01118.76
8.3.30.0000.01918.59
8.3.20.0040.00420.36
8.3.10.0040.00421.68
8.3.00.0030.00623.55
8.2.170.0140.00022.96
8.2.160.0070.00720.52
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00318.03
8.2.120.0030.00626.35
8.2.110.0030.00620.43
8.2.100.0110.00017.78
8.2.90.0040.00419.09
8.2.80.0080.00017.97
8.2.70.0100.00017.50
8.2.60.0000.00717.91
8.2.50.0060.00318.07
8.2.40.0000.00822.31
8.2.30.0040.00419.39
8.2.20.0040.00417.68
8.2.10.0040.00417.99
8.2.00.0040.00417.99
8.1.270.0050.00322.15
8.1.260.0000.00728.09
8.1.250.0060.00328.09
8.1.240.0080.00323.77
8.1.230.0040.00820.91
8.1.220.0080.00017.74
8.1.210.0030.00618.77
8.1.200.0000.00817.23
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0060.00318.57
8.1.160.0070.00020.67
8.1.150.0040.00418.85
8.1.140.0000.00819.63
8.1.130.0000.00817.57
8.1.120.0000.00717.42
8.1.110.0040.00417.45
8.1.100.0000.00717.44
8.1.90.0000.00917.49
8.1.80.0000.00717.48
8.1.70.0070.00017.39
8.1.60.0000.00817.59
8.1.50.0060.00317.50
8.1.40.0030.00517.57
8.1.30.0080.00017.70
8.1.20.0070.00017.64
8.1.10.0040.00417.44
8.1.00.0040.00417.40
8.0.300.0000.00718.77
8.0.290.0050.00216.63
8.0.280.0000.00718.29
8.0.270.0050.00317.24
8.0.260.0060.00017.10
8.0.250.0070.00016.80
8.0.240.0030.00316.79
8.0.230.0030.00516.84
8.0.220.0000.00716.84
8.0.210.0000.00816.84
8.0.200.0000.00716.87
8.0.190.0040.00416.77
8.0.180.0030.00516.86
8.0.170.0050.00316.89
8.0.160.0030.00516.71
8.0.150.0030.00316.81
8.0.140.0050.00316.72
8.0.130.0030.00313.29
8.0.120.0080.00016.79
8.0.110.0050.00216.77
8.0.100.0070.00016.77
8.0.90.0000.00716.84
8.0.80.0060.00916.71
8.0.70.0040.00416.68
8.0.60.0000.00716.87
8.0.50.0020.00516.88
8.0.30.0090.01017.12
8.0.20.0120.00617.40
8.0.10.0000.00816.98
8.0.00.0060.01516.70
7.4.330.0050.00016.85
7.4.320.0030.00316.63
7.4.300.0000.00716.60
7.4.290.0030.00316.45
7.4.280.0030.00616.54
7.4.270.0030.00316.61
7.4.260.0090.00016.39
7.4.250.0030.00516.55
7.4.240.0030.00316.41
7.4.230.0030.00316.68
7.4.220.0160.00016.55
7.4.210.0100.00716.50
7.4.200.0000.00716.60
7.4.160.0080.00816.50
7.4.150.0130.00317.40
7.4.140.0140.00817.86
7.4.130.0140.00816.34
7.4.120.0110.00616.48
7.4.110.0040.01216.48
7.4.100.0150.00916.59
7.4.90.0110.00616.41
7.4.80.0120.01119.39
7.4.70.0060.01216.46
7.4.60.0100.00716.45
7.4.50.0120.00316.38
7.4.40.0030.01616.49
7.4.30.0110.00616.61
7.4.00.0030.01215.03
7.3.330.0030.00313.03
7.3.320.0060.00013.00
7.3.310.0000.00816.13
7.3.300.0030.00316.05
7.3.290.0080.00816.18
7.3.280.0110.00616.17
7.3.270.0130.00717.40
7.3.260.0110.00716.38
7.3.250.0130.00516.26
7.3.240.0080.01216.37
7.3.230.0060.00916.39
7.3.210.0070.01316.25
7.3.200.0030.01319.39
7.3.190.0150.00416.46
7.3.180.0100.01016.20
7.3.170.0080.00816.34
7.3.160.0130.00316.48
7.3.120.0100.01014.79
7.3.110.0110.00714.57
7.3.100.0040.00714.67
7.3.90.0030.00914.47
7.3.80.0100.00714.66
7.3.70.0060.00614.76
7.3.60.0040.01114.73
7.3.50.0060.00614.66
7.3.40.0060.00314.74
7.3.30.0000.01314.84
7.3.20.0040.01116.39
7.3.10.0070.00716.61
7.3.00.0070.00716.61
7.2.330.0140.00316.31
7.2.320.0140.00316.39
7.2.310.0130.00316.22
7.2.300.0030.01316.66
7.2.290.0120.00416.51
7.2.250.0070.01115.01
7.2.240.0060.01314.88
7.2.230.0040.01414.67
7.2.220.0050.00514.88
7.2.210.0000.01515.17
7.2.200.0070.01315.04
7.2.190.0060.00614.86
7.2.180.0060.00314.75
7.2.170.0030.00714.92
7.2.00.0200.01018.55
7.1.330.0030.01015.79
7.1.320.0090.00315.63
7.1.310.0080.00415.41
7.1.300.0070.00715.62
7.1.290.0070.00715.35
7.1.280.0070.00715.74
7.1.270.0000.00915.46
7.1.260.0000.00815.58
7.1.100.0110.00718.26
7.1.70.0000.00916.88
7.1.60.0060.00617.29
7.1.50.0160.00916.81
7.1.00.0030.07722.30
7.0.200.0030.01216.62
7.0.60.0230.07721.75
7.0.50.0070.08317.84
7.0.40.0070.08320.01
7.0.30.0270.08320.20
7.0.20.0400.05720.30
7.0.10.0070.04020.13
7.0.00.0030.09020.16
5.6.280.0000.03320.90
5.6.210.0100.07720.66
5.6.200.0030.04018.16
5.6.190.0130.07720.45
5.6.180.0500.06720.64
5.6.170.0330.05720.40
5.6.160.0030.04320.38
5.6.150.0100.04718.18
5.6.140.0030.05718.09
5.6.130.0130.06018.18
5.6.120.0070.07321.05
5.6.110.0200.06321.00
5.6.100.0070.07320.97
5.6.90.0170.07321.07
5.6.80.0070.06720.38
5.5.350.0000.08320.32
5.5.340.0030.08317.92
5.5.330.0170.07320.14
5.5.320.0300.06320.37
5.5.310.0170.04320.26
5.5.300.0200.08017.87
5.5.290.0070.08017.95
5.5.280.0030.07020.77
5.5.270.0070.06720.79
5.5.260.0130.06020.79
5.5.250.0070.08720.61
5.5.240.0200.06020.28

preferences:
39.43 ms | 400 KiB | 5 Q